Practicing the basic plots that we can create using matplotlib library of pandas. This includes:
-
creating line graph. plt.plot(x,y)
-
bar graph plt.bar(x,y)
-
For histogram we use plt.hist(x) where x is the univariate variable to work on
-
scatter plots plt.scatter(x,y)
-
pie charts plt.pie(values for slicers, labels over it)
-
Using plt.subplots for making multiple plots for a good representation. (Just like a dashboard kind of thing,)
So here we will see, how we also add lables, xlable, ylabel, adding titles, adding legends, changing colors, size etc.
It was fun to learn this stuff from this video: