Skip to content

walke/MosaicPlotCovid19

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

MosaicPlotCovid19

NOTE: This README is also available in German.

We use Mosaic plots for visualizing weekly death/case count data for two dimensions, region and calendar week.

The area of the tiles is proportional to the number of deaths/cases within that category. (https://en.wikipedia.org/wiki/Mosaic_plot)

This first program is based on Covid-19 data collected in the COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University (https://github.com/CSSEGISandData/COVID-19.git) . Reporting criteria varies between different countries.

The program computes weekly sums of deaths and produces Mosaic plots using R. All regions with a smaller Covid-19 death toll are pooled into a 5%-percentile category (5% of all reported deaths). Every seventh week is coloured yellow to make the comparison easier. The maximum weekly death toll is denoted.

A second program produces a similar Mosaic plot with a different data source. ECDC (https://opendata.ecdc.europa.eu/covid19/) provides world wide Covid-19 statistics. A variant graph orders the regions depending on the calendar week where the cumulative death toll reaches 50% of the total death toll. But reporting criteria differ between countries as well. To take into account the different population sizes, an extension adds empty spaces to normalize the weekly deaths toll to the population of the regions. The regions with the highest weekly mortality rate in a certain week does not get any additional empty space in that week.

A third program is using data from (https://corona.rki.de) Germany. As an extension that third program generates a Mosaic plot for Covid-19 cases instead of deaths as well. Similar to the ECDC data a second extension adds empty spaces to normalize the weekly deaths toll to the population of the Bundesländer.

About

Mosaic plots for visualizing weekly Covid-19 death/case counts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages