Created
October 20, 2022 17:23
-
-
Save rmorenobello/69145d669c687e0b936cb51f6ee3d74f to your computer and use it in GitHub Desktop.
DS - Data Visualization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt # we only import pyplot | |
month_number = [1, 2, 3, 4, 5, 6, 7] | |
new_deaths = [213, 2729, 37718, 184064, 143119, 136073, 165003] | |
plt.plot(month_number, new_cases) | |
plt.ticklabel_format(axis='y', style='plain') | |
plt.title('New Reported Cases By Month (Globally)') | |
plt.xlabel('Month Number') | |
plt.ylabel('Number Of Cases') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment