joeycastillo / thebigboard.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Big Coronavirus Board

big board preview

This is a Jekyll-powered website aimed at displaying Coronavirus deaths in context, as compared to other causes of death worldwide. To see a live demo, visit thebigboard.cc.

Architecture and Methodology

A cron job runs the update.py script every half hour, which pulls data from the Johns Hopkins real-time dashboard and places it in a YAML file. It then pushes the update to GitHub, which triggers a CircleCI build that generates the static files and deploys them via rsync.

The site uses the JHU data to generate its COVID stats. Data about other causes of death comes from the Global Burden of Disease Study; it's the data from 2017, the most recent year the study covered, and it prorates those annual deaths to the date of the last data update (naïvely assuming that all other causes of death grow linearly over the course of the year).

Other Feeds

In addition to the landing page, I realized that downloading and processing these statistics puts me in a position to offer useful, structured data about the pandemic. As such, I have also added a series of JSON feeds with global summary data, country-level data, and state/province level data for Australia, Canada, China and the United States (the countries with detailed state and province level reporting). These static files are generated at the same time that the cron job triggers a broader site update.

License

Feel free to use any of the designs, code or data as you see fit; CC-BY-SA 4.0 seems appropriate.

About


Languages

Language:HTML 54.6%Language:Python 36.8%Language:SCSS 7.3%Language:Ruby 1.3%