The ECDC (European Centre for Disease Prevention and Control) is providing world-wide data on Coronavirus infections and deaths.
The data format changed a couple of times, beginning with date-stamped Excel files (.xlsx), then .csv files. then the column names and as of today, no more .xlsx files are provided.
(I initially tried to analyze the .xlsx files with SheetJS, but always got the error message
Cannot find file [Content_Types].xml in zip
which I could not solve, therefore switching from .xlsx to .csv).
As file hosting moved to opendata.ecdc.europa.eu, column names changed (at least in the .csv), and the date has been removed from the filename.
So I started out with a little pen on CodePen.io (data as of March 25), consisting of loading data from .csv, selecting countries of interest, and the kind of data to be displayed in a Chart.js chart:
- Number of cases, or number of deaths
- Count per day (as directly from the data files); total sum per day; and change in cases per day, optionally averaged over a number of days
After experimenting with the pen, I exported it and created the full HTML page containing the original pen, and adjusting a couple of things.
You can find the most current version of my Covid visualization on my website.