To understand distribution of data – shape, range, outliers, etc:v | Scatter plot
Box plot
Column, bar
Histogram |
To show composition | Pie
Stacked column/bar
Area |
To analyze trends | Line
column |
To show relationship | Line
Column
Dual-axis
Scatter plot |
Line Chart: | -For showing trends
-plt.plot() |
Scatter Plot | -Shows relationship between two paired sets of data
-plt.scatter() |
Box Plot | For describing the data
plt.boxplot() |
Column/bar | -To show how a quantity varies for discrete set of values. May be grouped into bins for histogram
-plt.bar(), plot.barh() |
PIE | Shows composition
plt,pie() |
Stacked | shows composition |
How to enchance your charts | -Choose chart that best communicates the information
-Add appropriate chart title, axes titles
-Use colors/patterns/symbols for distinction
-Scale appropriately
-Keep your design clean and simple |
Avoid promblamitic colors | Red & green
Green & brown
Green & blue
Blue & gray
Blue & purple
Green & gray
Green & black
-Use highly contrasting colors
-Use patterns and textures
-Use symbols
-Make your chart monochromatic |