Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thanks for the API! Used it to make a filterable overview of the stats #263

Closed
toxyl opened this issue Apr 5, 2020 · 0 comments
Closed

Comments

@toxyl
Copy link

toxyl commented Apr 5, 2020

I'm using your API for my overview of coronavirus stats: https://www.webcodesign.de/corona
Source code is available here: https://github.com/Toxyl/corona

The overview can be filtered by countries and sorted by any of these stats:

  • population
  • confirmed (current)
  • confirmed (last)
  • confirmed (change since last in %)
  • deaths (current)
  • deaths (last)
  • deaths (change since last in %)
  • case fatality rate (in %)
  • infection chance (1 person met)
  • infection chance (10 persons met)
  • infection chance (50 persons met)
  • infection chance (100 persons met)

The filtered results are consolidated in a "totals" row for convenience.

For further convenience all cells are highlighted according to four categories:

  • zero (no color)
  • low (yellow)
  • medium (orange)
  • high (red)

The thresholds for highlighting differ per stat:

  • population: no highlight
  • confirmed (current; low=100, medium=1000, high=10000)
  • confirmed (last; low=100, medium=1000, high=10000)
  • confirmed (change since last in %; low=1, medium=25, high=50)
  • deaths (current; low=100, medium=1000, high=10000)
  • deaths (last; low=100, medium=1000, high=10000)
  • deaths (change since last in %; low=1, medium=25, high=50)
  • case fatality rate (in %; ; low=1, medium=10, high=25)
  • infection chance (1 person met; low=1, medium=25, high=50)
  • infection chance (10 persons met; low=1, medium=25, high=50)
  • infection chance (50 persons met; low=1, medium=25, high=50)
  • infection chance (100 persons met; low=1, medium=25, high=50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants