This page was created as part of practicing Python programming and WordPress page creation. The other motivation was to get a different view on the data than then one presented in the news which tends to focus on the absolute numbers only.
Source of data: CCSE Covid-19 Dataset
NOTE: Starting from August 5, 2021, the number of people who have recovered is no longer published. Hence, the number of active cases and the daily change in the number of active cases cannot be calculated after this date.
Tip: Click on the country name in the legend to switch on/off the respective data series in the graph.
Total number of cases
Daily increase of cases
This graph shows the relative daily increment of the number of cases (1 = 100% increase). Data is filtered by a moving average with window size 3 (days) to emphasize the trend. Graph starts on the 8th day since the first case (first case is day zero) since in the first week or so the increase of cases changes rapidly and I wanted to show mainly the long term trend.
Normalized daily increase of cases
Number of new cases normalized by the maximum value in the respective country.
The negative increase of new cases for Portugal on May 2, 2020 is due to a correction after duplicate cases were discovered in past data.
Number of active cases (until August 4, 2021)
Number of active cases = total number of cases minus number of people who recovered or died.
Daily change in the number of active cases (until August 4, 2021)
How it works
Python script running on my notebook downloads the CCSE Covid-19 Dataset and processes the data of selected countries. It uploads via FTP the processed data in a CSV format to this server. The graphs above are linked with these CSV files.