Python & Matplotlib: Getting Started with Matplotlib for Data Visualization


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Matplotlib is a Python plotting library used to create dynamic visualizations using pyplot, a state-based interface. You'll learn how to correctly install and use Matplotlib to build line charts, bar charts, and histograms in this course.

You'll create basic line charts out of randomly generated data. You'll learn how to use the plt.subplots() function, import data from a CSV file using pandas, and create and customize various line charts.


Additionally, you'll create figures holding more than one axes object, learn why and how to use the twinx() function, and create multiple lines in the same line chart with different y-axes for each line.

Moving on, you'll construct histograms that visualize multiple variables and approximate the cumulative probability density function. Lastly, you'll create some bar charts to represent categorical data.



Expected Duration (hours)
1.7

Lesson Objectives

Python & Matplotlib: Getting Started with Matplotlib for Data Visualization

  • discover the key concepts covered in this course
  • install Matplotlib and explore Matplotlib interactive back ends
  • create various basic line charts visualizing random data using Matplotlib and pyplot
  • import data from a CSV file using pandas and visualize it with a basic line chart
  • customize various aspects of a line chart, such as the color of the line
  • create a figure object with multiple axes objects and create line charts in the axes
  • create a chart with two lines using two axes objects with the twinx() function
  • create a histogram to visualize the frequency counts of data in bins using bars
  • Create various special histograms, such as a histogram visualizing multiple columns
  • Compare categorical data by category against continuous values using bar charts
  • create drawn Lollipop charts to compare categorical data to continuous values
  • create bar and lollipop charts that visualize multiple related variables in one chart
  • summarize the key concepts covered in this course
  • Course Number:
    it_dapmpsdj_01_enus

    Expertise Level
    Intermediate