Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
451 views

Data Visualization Using Python

This document discusses data visualization libraries in Python. It introduces why data visualization is important and what it is. It then summarizes several commonly used Python libraries for data visualization, including Matplotlib, Seaborn, ggplot, Bokeh, Plotly, Pygal, Altair, Folium, and Gleam. For each library, it provides a brief description of its functionality and examples of chart types it can create. It concludes by listing some applications of data visualization across different domains like cinema, art, geography, gastronomy, and literature.

Uploaded by

aatifjamshed
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
451 views

Data Visualization Using Python

This document discusses data visualization libraries in Python. It introduces why data visualization is important and what it is. It then summarizes several commonly used Python libraries for data visualization, including Matplotlib, Seaborn, ggplot, Bokeh, Plotly, Pygal, Altair, Folium, and Gleam. For each library, it provides a brief description of its functionality and examples of chart types it can create. It concludes by listing some applications of data visualization across different domains like cinema, art, geography, gastronomy, and literature.

Uploaded by

aatifjamshed
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Data Visualization using Python

Upendra Kumar Tiwari


(Asstt. Professor,ABESIT)
Agenda:

• Why data Visualisation


• What is data visualization
• Introduction to different libraries used for Data
Visualisation.
• Some Handson on Data Visualisation using Seaborn and
Matplotlib
LIBRARIES/TOOLS USED FOR DATA VISUALIZATION IN
PYTHON
Matplotlib Seaborn ggplot Chart
Matplotlib is a plotting library for the Seaborn’s default styles and color Ggplot operates differently compared
Python programming language and its palettes are much more sophisticated to Matplotlib: it lets users layer
numerical mathematics extension NumPy. It than Matplotlib. Seaborn puts components to create a full plot. For
provides an object-oriented API for visualization at the core of understanding example, the user can start with axes, and
embedding plots into applications using any data. Seaborn is a higher-level then add points, then a line, a trend line,
general-purpose GUI toolkits like Tkinter, library- it’s easier to generate certain etc. The Grammar of Graphics has been
wxPython, Qt, or GTK+. Used to draft plot kinds of plots, including heat maps, time hailed as an “intuitive” method for
such as Histogram, scatter plot, Line chart series, and violin plots. Used to plot plotting, however seasoned Matplotlib
etc. chart suchh as scatter plot, column chart users might need time to adjust to this new
etc. mindset.Used to draft scatter plot,
histogram etc.
Plotly PygalChart
Bokeh
Bokeh is an interactive visualization library While Plotly is widely known as an Pygal offers interactive plots that can be
for modern web browsers. It provides online platform for data visualization, embedded in a web browser. The ability to
elegant, concise construction of versatile very few people know that it can be output charts as SVGs is its prime
graphics, and affords high- performance accessed from a Python notebook. Like differentiator. For work involving smaller
interactivity over large or streaming datasets. Bokeh, Ploty's strength lies in making datasets, SVGs will do just fine.
Bokeh can help anyone who would like to interactive plots, and it offers contour However, for charts with hundreds of
quickly and easily make interactive plots, plots, which cannot be found in most thousands of data points, they become
dashboards, and data applications. Used to libraries. Used to draft graph such as Box sluggish and have trouble rendering.It’s
draft line graph, column chart etc. Plot Chart, Scatter plot etc. easy to create a nice-looking chart with
just a few lines of code since each chart
type is packaged into a method and the
built-in styles are great. Used to draft
scatter chart etc.
Atlair Folium Gleam
Altair is a declarative statistical Folium makes it easy to visualize data Gleam is inspired by
visualization python library based that's been manipulated in Python on R’s Shiny package. It allows the
on Vega-Lite. You only need to mention the an interactive Leaflet map. It enables user to turn any analysis into
links between data columns to the encoding interactive web apps using only
both the binding of data to a map for
channels, such as x-axis, y-axis, color, etc. Python scripts. Gleam users don’t
choropleth visualizations as well as
and the rest of the plotting details are need to know HTML, CSS, or
handled automatically. This makes Altair passing Vincent/Vega visualizations as JavaScript to do this. Gleam works
simple, friendly and consistent. It is easy to markers on the map. with any Python data visualization
design effective and beautiful visualizations library. Once users have created a
with a minimal amount of code using Altair. plot, they can build fields on top of
Used to plot scatter chart etc. it to filter and sort data.
Application of Data Visualization
Cinema: explaining a movie plot Art: analyzing the color palettes of National geographic:
through data visualization great artworks cartography

Gastronomy in pictures Literature and astronomy


Different Link
1. for Matplotlib https://matplotlib.org/
2. for Seaborn https://seaborn.pydata.org/
3. for ggplot chart https://pypi.org/project/ggplot/
4. for Bokeh https://bokeh.org/
5. for plotly https://plotly.com/
6. for pygal http://www.pygal.org/
7. for atlair https://altair-viz.github.io/
8. for geoplot
https://residentmario.github.io/geoplot/user_guide/Working_with_Geospatial_Data.h
tml

You might also like