Giter Club home page Giter Club logo

covid-19-de's Introduction

COVID-19 in Germany

This website presents the outbreak of COVID-19 in the country of Germany. The first case was registered on January the 28th, 2020 in the state of Bayern and has since spread across all of Germany. The government has, like many others, added new laws to contain the virus, in which the effectiveness of these will be examined further down the site. The most important being the three following:

  • 13-03-2020 - 14 of the 16 states closes their schools and nurseries.
  • 15-03-2020 - Germany closes the borders.
  • 22-03-2020 - The government and the federal states forbids gatherings of more than two people for two weeks and require a minimum distance of 1.5 meters between everyone.

The graphs and visualisations presented in this report are based on data obtained from this site.
Many visuals include userfriendly navigation, which involves zoomability by marking an area and toggling values on and off in the legend. The most important icons are , which resets the zoom of the graph and which respectively shows single value of the line hovered or all values for the date hovered.
The notebook for all visualisations and the exploratory analysis can be found here.

General Overview

Total Occurences

Per One Milion Inhabitant

As seen from the heatmap below, the highest number of registered cases are located in the south and western part of Germany. The three states with the highest case-count are Bayern, Baden-Wuerttenberg and Nordrhein-Westfallen. The centered spread could be explained by the measures taken by the government, of which the first was implemented on the 13th of March. Reduced mobility of citizens between states reduces the cross-state spread.

<iframe src="https://theisgregersen.github.io/Covid-19-DE/heatmap_DE.html" sandbox="allow-same-origin allow-scripts" width="100%" height="500" scrolling="no" seamless="seamless" frameborder="0"> </iframe> Distrubution of cases, recoveries and deaths.

COVID-19 has different impact depending on age and gender.

Looking into how the different age groups and gender are affected by COVID 19 it is present that female have a higher number of cases than men. It can also be seen that people in the age between 35 and 59 are the most present in the statistic. This is not to be mistaken has the hardest hit age group, as this age group also has the biggest population in Germany (source).

<iframe src="https://theisgregersen.github.io/Covid-19-DE/Pyramid.html" sandbox="allow-same-origin allow-scripts" width="100%" height="500" scrolling="no" seamless="seamless" frameborder="0"> </iframe> Cases and Recoveries by Gender and Age Group.

From both the visual above and below, it is apparent that the probability of COVID-19 having a fatal outcome increases the elder the person being infected is. Due to the high difference in number of deaths between the age groups the y-axis has been log-scaled . To get the original values please hover the bars.

<iframe src="https://theisgregersen.github.io/Covid-19-DE/deaths_bars.html" sandbox="allow-same-origin allow-scripts" width="100%" height="300" scrolling="no" seamless="seamless" frameborder="0"> </iframe> Number of Deaths per Age Group - Log Scaled.

Development over Time

Germany saw a very low number of cases from the first registered case on the 28th of January and till early March. Here the spread of Covid-19 started to take place and the numbers increased quite rapidly over the following weeks. It appears that from mid April to 2nd of May the growth in cases has decreased.

<iframe src="https://theisgregersen.github.io/Covid-19-DE/overview_cum.html" sandbox="allow-same-origin allow-scripts" width="100%" height="500" scrolling="no" seamless="seamless" frameborder="0"> </iframe> Number of registered cases, recoveries and deaths over time.

The first case was as mentioned in the state of Bayern and it took almost a month for the other states to register more than a few cases. Bayern is together with Nordrhein-Westfallen and Baden-Wuerttenberg the three states with majority of registered cases.

my alt text

Number of Cases per State over Time.

The heatmap below shows the daily occurences across all Germany. Link to Original.

my alt text

Heatmap of Daily Registered Cases.

Measurements in attempt of reducing spread

R0 is the basic reproduction rate. A term used a lot when talking about epidemics and pandemics. It is essentially a measure of spreadability of the given virus. It refers to the number of people a single infected person will infect. E.g. a R0 value of 0.8 means that a 100 infected people can be expected to infect 80 new people. This also means that a R0 below 1 means that a virus will eventually die out, whereas a R0-value of 2 means the number of infected people will double for every infection-period.

As many other nations the German government tried to prevent Covid-19 spreading out of control by enforcing some regulations. In the visual below the five most important regulations are noted by date together with the data of daily occurences of Covid-19; both new cases, deaths and recoveries. Around mid March an exponential increase in newly registered cases by each day is seen, which refers to an R0 value of above 1. Around end March early April the number of new cases started declining and could be seen as an outcome of the initiatives taken by the government in reducing the R0. On the 15th of April the government declared a small success in stopping the spread and immediately it can be seen there is a small increase in daily cases. This however, is not to be seen as a direct consequence of the announcement, as it usually takes more than a few days from catching the virus to showing symptons. The same pattern can be seen on the days following the 20th of April where shops again were allowed to open up.

<iframe src="https://theisgregersen.github.io/Covid-19-DE/Overview_byday.html" sandbox="allow-same-origin allow-scripts" width="100%" height="500" scrolling="no" seamless="seamless" frameborder="0"> </iframe> Number of registered cases, recoveries and deaths for each day.

See if your country is fucked (R0 plots)

According to imperial the deathrate is 0.66 % and the hospitalisation rate is 11.8 %. This is used in the visual below to estimate the number of hospitalised and the number of deaths. Using this source it has been determined that the number of available beds at hospitals for Covid-19 is 139,474.
The following visualisations are based on the known epidemic-simulation formula, SEIR. This takes a number of inputs which have been determined to have the following values:

  • Infection Period - 14 days (Number of days infected)
  • Incubation Period - 10 days (WHO states 5-14 days) (Days from catching the virus to showing symptoms)
  • DeathRate - 0.66 % (Probability of dying to the virus)
  • R0 - The basic reproduction rate.

The visual show five lines which are:

  • Suspectible - number of people who can still catch the virus
  • Infected - Number of people infected by the virus
  • Recovered - Number of people recovered from the virus
  • Deaths - Number of people killed by the virus
  • Hospitalised - 11.8 % of the infected

The initial values for the five above mentioned are set to be the registered values of May the 2nd 2020.

The simulations are of course under the assumption that no progression within medical treatment or no new regulations are enforced. This also means that this should not be seen as representative of the future, but mostly as a visual understanding of R0 and how a reduction in this can have a big impact on the spread of the virus. As greatly visualised by Visual Capitalist social distancing has a massive effect on the spread of a virus (R0), thus this can be used as an understanding of how social distancing and other measures taken by each individual can have a big impact on the impact of a virus.

Below three different scenarios are presented. Try toggling off different lines. (Click each scenario to expand).
Disclaimer: Problems when rendering of the following visualisations can occur (often for Google Chrome users). Please use the provided link the whole graph is not shown.

Scenario 1 The first is the current state of Germany with an R0 value of 0.9 (source)

Link to graph

<iframe src="https://theisgregersen.github.io/Covid-19-DE/R0_09.html" sandbox="allow-same-origin allow-scripts" width="100%" height="500" scrolling="no" seamless="seamless" frameborder="0"> </iframe> COVID-19 spread with R0 value of 0.9.

Scenario 2 Italy has been one of the hardest hit coutries in Europe. According to this (source) the R0 rate when worst in Italy was between 2.76 and 3.25. The second example will be a simulation of how Germany will be affected by having an R0 value of 3.

Link to graph

<iframe src="https://theisgregersen.github.io/Covid-19-DE/R0_3.html" sandbox="allow-same-origin allow-scripts" width="100%" height="500" scrolling="no" seamless="seamless" frameborder="0"> </iframe> COVID-19 spread with R0 value of 3.

Scenario 3 The last is to demonstrate the maximum value of R0 where the number of available hospital beds will not be exceeded. This is calculated to be approximately 1.34. If Germany were to try and reach mass immunity, this would be the highest reproduction rate without the hospitals running out of available beds.

Link to graph

<iframe src="https://theisgregersen.github.io/Covid-19-DE/R0_134.html" sandbox="allow-same-origin allow-scripts" width="100%" height="500" scrolling="no" seamless="seamless" frameborder="0"> </iframe> COVID-19 spread with R0 value of 1.34.

covid-19-de's People

Contributors

fertin avatar theisgregersen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.