Data Visualization
VISUALIZATION
Python has provided various visualization tools. You can draw various graphs in python.
Before you draw graphs or plots, you have to import modules for visualization.1
2import matplotlib.pyplot as plt
import seaborn as sns
Difference between matplotlib and seaborn
Matplotlib is not much aesthetic as much as seaborn module. If you want to make your graphs more beautiful, I recommend you would use seaborn module.
Moreover, you also use much more various graphs that matplotlib module does not provide.
TYPES of graphs
- Line Plot
- Bar Plot
- Histogram
- Scatter Plot
- Box Plot
- Extra graphs that seaborn module provides
- countplot
- distplot
- jointplot
- pairplot
AND … kdeplot etc,… more graphs!!!
FIND HERE! Matplotlib website & Plotly website & Seaborn website
Using graphs
It is important to use the proper graphs to analyze the data better depending on the proper purpose.
For example, if you want to express the density (which point are show more or less on graph), you should use the histogram
. Or when you want to express the purchase amount by language that the international consumers use on graph, you should use the barplot or countplot of seaborn module.