Visualizing the number of COVID-19 confirmed cases with Plotly

I would like to see: The evolution over time of the number of cases/deaths/recovery patients per country. Assuming that others are also interested in this information, I am sharing the plots I made with plotly.

The Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE) maintain a GitHub repository with daily updated information about the Corona Virus. They also provide a dashboard to interact with the data (however, even their dashboard doesn’t provide the plot I was looking for).

You are more than welcome to modify the notebook to predict the number of cases and do other types of analysis. The notebook can be found in my GitHub repository.

The data is split into three plots:

Bellow, you can see the data for all the confirmed cases (total and per day).

You can select countries to compare the data. If you are having problems to visualise the plot, you can try the clean html version from this link

'

Data Shifted to Origin

I have been seeing plots where they compare the number of new cases/deaths among different countries by moving the origin of the plots the day of the first case/death. Thus, I did the same for the plot above: all the data points are shifted in the horizontal axis such that the origin corresponds to first case/death for that country:

NOTE: The data IS NOT normalised by the population size.

'
Data Scientist

A Brazilian in the Netherlands solving problems using data.

comments powered by Disqus