Data Visualization with Matplotlib and Seaborn
7h 27mIntermediate2024-09-26
Authors

Maven Analytics

Chris Bruehl
Course details
This is a hands-on, project-based course designed to help you learn two of the most popular Python packages for data visualization: Matplotlib and Seaborn.
Get a quick introduction to data visualization frameworks and best practices, and review essential visuals, common errors, and tips for effective communication and storytelling.
Explore Matplotlib fundamentals and building and customizing line charts, bar charts, pies and donuts, scatterplots, histograms, and more. Break down the components of a Matplotlib figure, apply common chart formatting techniques, and leverage more advanced customization options like subplots, GridSpec, style sheets, and parameters. Finally, learn the basics of building charts and using visuals in the Seaborn library.
Throughout the course, you'll play the role of a consultant at Maven Consulting Group, where you can practice applying your skills to a range of real-world projects and case studies.
Learning objectives
Identify key data visualization best practices, including essential visuals and their use cases, common errors, and tips for formatting and effective storytelling.
Interpret Python syntax for creating chart objects with the Matplotlib library, including the PyPlot API and object-oriented interfaces.
Utilize the components of a Matplotlib chart object, including titles, legends, colors, styles, annotations, axis ticks, subplots, and GridSpecs.
Analyze Matplotlib plotting functions for different chart types, including line charts, bar charts, pie charts, histograms, and scatterplots.
Analyze Seaborn plotting functions for different chart types, including bar charts, histograms, box plots, violin plots, heatmaps, and linear relationship plots.
Get a quick introduction to data visualization frameworks and best practices, and review essential visuals, common errors, and tips for effective communication and storytelling.
Explore Matplotlib fundamentals and building and customizing line charts, bar charts, pies and donuts, scatterplots, histograms, and more. Break down the components of a Matplotlib figure, apply common chart formatting techniques, and leverage more advanced customization options like subplots, GridSpec, style sheets, and parameters. Finally, learn the basics of building charts and using visuals in the Seaborn library.
Throughout the course, you'll play the role of a consultant at Maven Consulting Group, where you can practice applying your skills to a range of real-world projects and case studies.
Learning objectives
Identify key data visualization best practices, including essential visuals and their use cases, common errors, and tips for formatting and effective storytelling.
Interpret Python syntax for creating chart objects with the Matplotlib library, including the PyPlot API and object-oriented interfaces.
Utilize the components of a Matplotlib chart object, including titles, legends, colors, styles, annotations, axis ticks, subplots, and GridSpecs.
Analyze Matplotlib plotting functions for different chart types, including line charts, bar charts, pie charts, histograms, and scatterplots.
Analyze Seaborn plotting functions for different chart types, including bar charts, histograms, box plots, violin plots, heatmaps, and linear relationship plots.
Skills covered
Data VisualizationPythonData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceOne-Off
Concepts
0. Introduction
- 01 - Course structure and outline
- 02 - Introducing the course project
- 03 - Setting expectations
- 04 - Jupyter installation and launch
1. Intro to Data Visualization
- 05 - Why visualize data
- 06 - Three key questions
- 07 - Essential visuals
- 08 - Chart formatting and storytelling
- 09 - Common visualization mistakes
- 10 - Key takeaways
2. Matplotlib Fundamentals
- 11 - Intro to Matplotlib
- 12 - Plotting methods
- 13 - Plotting DataFrames
- 14 - Challenge - Plotting DataFrames
- 15 - Solution - Plotting DataFrames
- 16 - Anatomy of a Matplotlib figure
- 17 - Chart titles and font sizes
- 18 - Chart legends
- 19 - Line styles
- 20 - Axis limits
- 21 - Figure sizes
- 22 - Custom axis ticks
- 23 - Vertical lines
- 24 - Adding text
- 25 - Pro tip - Text annotations
- 26 - Removing borders
- 27 - Challenge - Formatting charts
- 28 - Solution - Formatting charts
- 29 - Line charts
- 30 - Stacked line charts
- 31 - Dual axis charts
- 32 - Challenge - Dual axis line charts
- 33 - Solution - Dual axis line charts
- 34 - Bar charts
- 35 - Challenge - Bar charts
- 36 - Solution - Bar charts
- 37 - Stacked bar charts
- 38 - Grouped bar charts
- 39 - Combo charts
- 40 - Challenge - Advanced bar charts
- 41 - Solution - Advanced bar charts
- 42 - Pie and donut charts
- 43 - Challenge - Pie and donut charts
- 44 - Solution - Pie and donut charts
- 45 - Scatterplots and bubble charts
- 46 - Histograms
- 47 - Challenge - Scatterplots and histograms
- 48 - Solution - Scatterplots and histograms
- 49 - Key takeaways
3. Project 1 - Visualizing Data
- 50 - Project introduction
- 51 - Solution walkthrough
4. Advanced Customization
- 52 - Intro to advanced customization
- 53 - Subplots
- 54 - Challenge - Subplots
- 55 - Solution - Subplots
- 56 - GridSpec
- 57 - Challenge - GridSpec
- 58 - Solution - GridSpec
- 59 - Color options
- 60 - Color palettes
- 61 - Challenge - Colors
- 62 - Solution - Colors
- 63 - Style sheets
- 64 - Challenge - Style sheets
- 65 - Solution - Style Sheets
- 66 - rcParams
- 67 - Saving figures and images
- 68 - Key takeaways
5. Project 2 - Visualizing Global Coffee Production
- 69 - Project introduction
- 70 - Solution walkthrough
6. Visualization with Seaborn
- 71 - Intro to seaborn
- 72 - Basic formatting options
- 73 - Bar charts and histograms
- 74 - Challenge - Bar charts and histograms
- 75 - Solution - Bar charts and histograms
- 76 - Box and violin plots
- 77 - Challenge - Box and violin plots
- 78 - Solution - Box and violin plots
- 79 - Linear relationship charts
- 80 - Jointplots
- 81 - Pairplots
- 82 - Challenge - Linear relationship charts
- 83 - Solution - Linear relationship charts
- 84 - Heatmaps
- 85 - Challenge - Heatmaps
- 86 - Solution - Heatmaps
- 87 - FacetGrid
- 88 - Matplotlib integration
- 89 - Key takeaways
7. Project 3 - Analyzing Used Car Sales
- 90 - Project introduction
- 91 - Solution walkthrough
Related courses
- Deep Learning and Generative AI: Data Prep, Analysis, and Visualization with Python
- Python Functions for Data Science (2020)
- Python Functions for Data Science
- Data Visualization with Python in Excel
- Advanced Spatial Data Visualization in Python
- NumPy Essential Training: 2 MatPlotlib and Linear Algebra Capabilities
- Advanced Python: Top Tools for Data Science and Engineering
- Flask Essential Training
Related learn paths
- Moving from Data Analyst to Data Scientist
- Advance Your Python Skills for Data Science
- Introduction to Fundamental Skills for Data Work: Data Processing
- Anaconda Python for Data Science Professional Certificate
- Develop Your Data Analysis Skills
- Python Hands-On Practice
- Become a Data Visualization Specialist: Tools
- Advance Your Skills as an R Expert