0% found this document useful (0 votes)
138 views

Visualization - Python Data Analysis

Python provides several libraries for data visualization, with Matplotlib and Seaborn being the most popular. Matplotlib is the main 2D/3D plotting library for Python, providing publication-quality figures. Seaborn builds on Matplotlib and provides an easier interface for drawing attractive statistical graphs. Pandas also enables plotting and is useful for manipulating and analyzing tabular data. These libraries allow users to easily create informative graphs and dashboards from data.

Uploaded by

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

Visualization - Python Data Analysis

Python provides several libraries for data visualization, with Matplotlib and Seaborn being the most popular. Matplotlib is the main 2D/3D plotting library for Python, providing publication-quality figures. Seaborn builds on Matplotlib and provides an easier interface for drawing attractive statistical graphs. Pandas also enables plotting and is useful for manipulating and analyzing tabular data. These libraries allow users to easily create informative graphs and dashboards from data.

Uploaded by

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

PYTHON DATA

VISUALIZATION
GRAPH INFORMATIVE FIGURES FOR QUICK BUSINESS INSIGHT WITH PYTHON

IDDO
Data Visualization
• The process of interpreting data and presenting it in a pictorial or
graphical format
• The more data we collect and analyze, the more capable we make critical
business decisions
• Expose significance information by summarizing huge amount of data in a
simple format.
• Help to communicate the information
clearly and effectively to decision
makers and users
Why Is Data Visualization Important?
• A picture is worth a thousand words, as they say. Humans just understand
data better through pictures than raw numbers.
• Convert data into graphs for easy interpretations
• Creating attractive and informative dashboards of various graphs to
indicate the performance of a business
• Provides a quick insight that the brain can quickly and easily absorb
without lot of reading.
• Reveal patterns, trends, and correlations among variables which
determined where to increase an operational processes to facilitate
business growth
• Help determine the type of analysis that can be achieved using the data
Introducing Data Visualization Techniques
• Data visualization aims to understand data by extracting and graphing
information to show patterns, spot trends, and identify outliers.
• Two basic types of data visualization
1. Exploration - helps to extract information from the collected data.
2. Explanation - demonstrates the extracted information.
EXPLORATION

EXPLANATION
Python Libraries for Data Visualization
• There are many Libraries Used to visualize data in python
• The main data visualization Library in python is: Matplotlib Library
• To use any of those libraries, you need to install it using pip install or
conda install
• Some of python Visualization Libraries are:
matplotlib – the oldest and main python visualization libraries
seaborn -  harnesses the power of matplotlib,
- The key difference is Seaborg's default styles and color palettes
- more aesthetically pleasing and modern
Others are: ggplot, Bokeh, pygal, Plotly, geoplotlib, Gleam, missingno, Leather
etc.
Python Libraries for Data Visualization
• A collection of functions and methods
• Allows you to perform many actions without writing your code
• Python’s standard libraries (Built-in Modules)
- is very extensive
- offering a wide range of facilities
- does not require installation, come with python distribution
- Ex math, calendar etc
• Python External Libraries(External Modules)
- Extends the functionality of core pythons
- Must be installed before import and use
- Ex pandas, matplotlib, numpy, scipy etc
Installing Libraries in Python
• To use any of the libraries, you need to install it using pip install or conda install
• You can use the terminal (command prompt on windows OS) or directly in the
Jupyter notebook to install a library
• The command using terminal is:
>> pip install library_name or conda install library_name
>> pip install matplotlib
>> conda install matplotlib
• The command using the notebook is:
!pip install library_name or !conda install library_name
!pip install matplotlib
!conda install matplotlib
Importing a Libraries in Python
• Any install library most be imported before it can be used
• To shorted names of a library you can alias a the name
• Syntax:
import library_name #Import name without alias
import math
import library_name as alias_name #import name with alias
import pandas as pd

NOTE: to list all install libraries enter


!pip list
Python Data Visualization Libraries
• There are many Libraries Used to visualize data in python
• Libraries are external developed packages made to accomplish some
certain task or tasks
• The main data visualization Library in python is: Matplotlib Library
• Some of python Visualization Libraries are:
matplotlib – the oldest and main python visualization libraries
seaborn -  harnesses the power of matplotlib,
- The key difference is Seaborg's default styles and color palettes
- more aesthetically pleasing and modern
Others are: ggplot, Bokeh, pygal, Plotly, geoplotlib, Gleam, missingno, Leather
etc.
Python Data Visualization Libraries

PYTHON DATA
VISUALIZATION LIBRARIES
Matplotlib Data Visualization Library

• Python 2D & 3D plotting library for data visualization


• built on Numpy arrays
• designed to work with the broader SciPy stack
• produces publication-quality figures
• Two options for embedding graphics directly in a notebook
• %matplotlib notebook leads to interactive plots
• %matplotlib inline will lead to static graphs images
• Must be installed and imported before use
Seaborn Data Visualization Library
• Is a Python data visualization library based on
Matplotlib
• provides a high-level interface for drawing
attractive and informative graphs
• Produce informative statistical graphs easily
• Need to be installed and imported before use
• You can easily plot:
regression plots
distribution plots
Kernel Density Estimate plot etc
Pandas Library
• Data manipulation and analysis library
• Use in a variety of academic and commercial
domains, including finance, economics,
statistics, advertising, web analytics, and much
more
• offers data structures(series, Data frame,
panel) and operations for manipulating data
tables and time series data
• You can plot directly using pandas library.
• Built on top of numpy and matplotlib libraries

You might also like