Data visualization with Matplotlib

Matplotlib is a popular Python plotting library that plays a major role in subjects like data science, machine learning, etc. Visualization gives us access to huge amounts of data in easily digestible visuals.

Installation

 pip install matplotlib

Importing matplotlib

import matplotlib.pyplot as plt`

Applications

  • Line Chart
  • Bar Chart
  • Histograms
  • Scatter Plots
  • Pie Charts
  • Sub Plots

Line chart

Multiple line chart

Bar chart

Multiple bar chart

Histogram

Scatter plot

Pie chart

Sub plots

Free Resources