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
2
import 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

  1. Line Plot
  2. Bar Plot
  3. Histogram
  4. Scatter Plot
  5. Box Plot
  • Extra graphs that seaborn module provides
  1. countplot
  2. distplot
  3. jointplot
  4. 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.