Skip to content


Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Visualize the evolution of the mortality of the SARS-CoV-2 in France, since the start of confinement pronounced on March 18, 2020, department by department. The datasets also provide insight into the global capacity of intensive care units in hospital alongside with the extent of contamination through the incidence rate in the departments.

A demonstration is available at

How to run this application on local?

You need a Web server to launch the application. There are several ways to do so. On Linux and MacOS platforms, you can for example call python or php utilities:

$ python -m http.server 8080
$ php -S localhost:8080

Then, open your web browser and navigate to the URL http://localhost:8080.

How to update the data?

SPF (Santé publique France) provide updated data day by day through their information systems:

  1. on the first link, download the CSV file called donnees-hospitalieres-covid19-2021\*.csv
  2. on the second one, download the files sp-pe-std-quot-dep-2021\*.csv and sp-pe-std-quot-fra-2021\*.csv (useful to calculate the incidence rate)
  3. save it in the script folder
  4. run the script
$ python

This procedure will update the files in the data folder on which the application is based.


The borders of the departments come from the France GeoJSON project by Grégoire David.

All the data are provided by Santé publique France.