# Introduction to Data Visualization with Matplotlib

Learn how to create, customize, and share data visualizations using Matplotlib.

Start Course for Free4 Hours14 Videos44 Exercises

## Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.## Loved by learners at thousands of companies

## Course Description

Visualizing data in plots and figures exposes the underlying patterns in the data and provides insights. Good visualizations also help you communicate your data to others, and are useful to data analysts and other consumers of the data. In this course, you will learn how to use Matplotlib, a powerful Python data visualization library. Matplotlib provides the building blocks to create rich visualizations of many different kinds of datasets. You will learn how to create visualizations for different kinds of data and how to customize, automate, and share these visualizations.

- 1
### Introduction to Matplotlib

**Free**This chapter introduces the Matplotlib visualization library and demonstrates how to use it with data.

Introduction to data visualization with Matplotlib50 xpUsing the matplotlib.pyplot interface100 xpAdding data to an Axes object100 xpCustomizing your plots50 xpCustomizing data appearance100 xpCustomizing axis labels and adding titles100 xpSmall multiples50 xpCreating a grid of subplots50 xpCreating small multiples with plt.subplots100 xpSmall multiples with shared y axis100 xp - 2
### Plotting time-series

Time series data is data that is recorded. Visualizing this type of data helps clarify trends and illuminates relationships between data.

Plotting time-series data50 xpRead data with a time index100 xpPlot time-series data100 xpUsing a time index to zoom in100 xpPlotting time-series with different variables50 xpPlotting two variables100 xpDefining a function that plots time-series data100 xpUsing a plotting function100 xpAnnotating time-series data50 xpAnnotating a plot of time-series data100 xpPlotting time-series: putting it all together100 xp - 3
### Quantitative comparisons and statistical visualizations

Visualizations can be used to compare data in a quantitative manner. This chapter explains several methods for quantitative visualizations.

Quantitative comparisons: bar-charts50 xpBar chart100 xpStacked bar chart100 xpQuantitative comparisons: histograms50 xpCreating histograms100 xp"Step" histogram100 xpStatistical plotting50 xpAdding error-bars to a bar chart100 xpAdding error-bars to a plot100 xpCreating boxplots100 xpQuantitative comparisons: scatter plots50 xpSimple scatter plot100 xpEncoding time by color100 xp - 4
### Sharing visualizations with others

This chapter shows you how to share your visualizations with others: how to save your figures as files, how to adjust their look and feel, and how to automate their creation based on input data.

Preparing your figures to share with others50 xpSelecting a style for printing50 xpSwitching between styles100 xpSaving your visualizations50 xpSaving a file several times100 xpSave a figure with different sizes100 xpAutomating figures from data50 xpUnique values of a column100 xpAutomate your visualization100 xpWhere to go next50 xp

In the following tracks

Data Scientist with PythonData Scientist Professional with PythonData Visualization with PythonCollaborators

Prerequisites

Introduction to PythonAriel Rokem

See MoreSenior Data Scientist, University of Washington

Ariel Rokem is a Data Scientist at the University of Washington eScience Institute. He received a PhD in neuroscience from UC Berkeley, and postdoctoral training in computational neuroimaging at Stanford. In his work, he develops data science algorithms and tools, and applies them to analysis of neural data. He is also a contributor to multiple open-source software projects in the scientific Python ecosystem.

## Don’t just take our word for it

*4.5

65%

23%

9%

3%

0%

Sort by

- Anya A.4 days
Well explained, awesome code labs

- Emiliano G.20 days
Great course

- Noel C.about 1 month
Excellent!

- Mohammed B.about 1 month
Excellent!

- Thomas S.2 months
Clear, intuitive, and simple to follow instructions, along with interactive tasks. An excellent teaching platform for learning how to use Matplotlib.

## FAQs

## Join over 12 million learners and start Introduction to Data Visualization with Matplotlib today!

## Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.