Visualizing COVID-19 Cases Worldwide
November 27th, 2020
Please visit the published version on my RPubs profile for the complete project.
This exploration is based on a project from DataCamp.com, found here: https://projects.datacamp.com/projects/870. The goal here is to explore the trends in COVID-19 cases over time by country. The data is regularly updated, and I pulled an updated version of it on November 27th, 2020. Data accessible here: https://github.com/RamiKrispin/coronavirus/tree/master/csv.
![](https://cdn.myportfolio.com/6f396292-c38d-4b94-9b1c-e03cfad9b204/81116077-0e6a-466e-a084-d00f1eb30151_rw_1920.png?h=c80e96537ded5a24e0ea7c49dcf9dde5)
To visualize the trend in confirmed COVID-19 cases worldwide, I create a new data frame consisting of date, worldwide total on a daily basis, and the running cumulative number of cases up to a given date. Below is a plot of cumulative worldwide cases over time.
Snippet of code for generating the zoomed-in China vs. World cases:
![](https://cdn.myportfolio.com/6f396292-c38d-4b94-9b1c-e03cfad9b204/0b2cab31-9b07-4624-bb9d-010a7aac1574_rw_1920.png?h=b7d878624b40f7ade0f174207cefa83f)