Professional Documents
Culture Documents
W14-Lab A CBD
W14-Lab A CBD
W14-Lab A CBD
Part 12
Resize Figure.
ADD This Code:
plt.figure(figsize=(W,H))
W = Width
H = Height
Example:
plt.figure(figsize=(16,10))
Chapter II:
Use your data for visualization
Import Your library and CSV dataset.
Information
For more reference for this Broken Barh Click Here or Here.
Stacked Bar Graph.
Result.
For more reference About this Stacked Bar Chart Click Here.
Tips n Trick (Additional)
Add label to your chart
Preview your data in excel
when you open the .csv file you can see that the data is not in table format.
Try this solution for solve your problem
Even Student ID
Use 10 last data from Dataset in Total Recovered of covid-19 and visualize the result for each country
using Bar Chart.
Submission
Screenshot & Upload to eCampus
Screenshot your code and the output, then put them into a pdf file. After that upload them to eCampus.
Questions?
References
Covid-19 Cases Dataset from Kaggle
Ngodingdata.com