1 of 19

Data Visualization

using Python

Ahmad Ahmadzada

2 of 19

Creating various graphs using visualization libraries

3 of 19

Python Data Visualization Libraries

Matplotlib

Seaborn

Ggplot

Plotly

Geoplotlib

Bokeh

Folium

Altair

Pygal

Gleam

4 of 19

What is Matplotlib?

  • Matplotlib is a plotting library for the Python programming language.

It provides an interface for creating a wide variety of static, animated, and interactive visualizations in Python.

Matplotlib is designed to be compatible with different types of data, including arrays, lists, and pandas DataFrames, and it supports a wide range of plot types, including line plots, bar plots, scatter plots, histograms, and pie charts, among others.

5 of 19

What is Plotly?

  • Plotly is an open-source graphing library for Python, R, Julia, and other programming languages that allows you to create interactive, web-based data visualizations. It provides a high-level interface for drawing attractive and informative statistical graphics, with a focus on producing interactive plots that can be easily shared and embedded in web applications or documents.
  • Plotly offers a wide variety of chart types, such as scatter plots, line charts, bar charts, pie charts, heatmaps, and more. It also provides advanced features like 3D charts, geographic maps, and the ability to create animations or combine multiple plots into a single figure.

6 of 19

Seaborn

  • Built-in functions for visualizing univariate and bivariate distributions, such as histograms, kernel density plots, scatter plots, and violin plots.
  • Support for visualizing multivariate data using pair plots, heatmaps, and cluster maps.
  • Functions to visualize linear relationships between variables using regression plots and residual plots.
  • Easy integration with Pandas DataFrames, allowing you to use column names as input for creating visualizations.
  • Built-in themes and color palettes to quickly style your plots.

7 of 19

Types of Graph

Line Graphs

Bar Charts

Pie Charts

Histogram

Scatter plot

Area Charts 

Radar chart

Box Plots

8 of 19

Using Salary DataSet for Visualization

9 of 19

Bar Chart

10 of 19

Scatter Plot

11 of 19

Pie Chart

12 of 19

13 of 19

14 of 19

Histogram

15 of 19

Scatter Plot

16 of 19

Hist Plot using Seaborn

17 of 19

Line graph

18 of 19

19 of 19

Thank you for your attention