Visualization - Python Data Analysis
Visualization - Python Data Analysis
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
PYTHON DATA
VISUALIZATION LIBRARIES
Matplotlib Data Visualization Library