Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.
/ covid-hyogo Public archive

Responsible visualizations of COVID-19 in Hyogo Prefecture, Japan

License

Notifications You must be signed in to change notification settings

hktang/covid-hyogo

Repository files navigation

This project is abandoned. Please visit this page for daily updates.

Tracking the COVID-19 outbreak in Hyogo Prefecture, Japan at https://covid19hyogo.org/

This project consists of a somewhat opinionated set of charts inspired by 17 (or so) responsible live visualizations about the coronavirus. The main ideas are:

  1. The number of confirmed cases should not be shown in red (contracting the virus is not a death sentence).
  2. Absolute numbers should be countered with reference (relative numbers provide more context).
  3. Cumulative cases should be avoided in charts (there are people on track to recovery).
  4. Choropleth maps are avoided if they are necessary at all (there are already maps showing almost all countries in red, but they all seem out of proportion).

All data except otherwise noted are retrieved from the official website of the Hyogo Prefectural Government, particularly:

  1. 新型コロナウイルスに感染した患者の発生状況
  2. 新型コロナウイルスに感染した患者の状況

Telegram bot

A Telegram bot is set up to monitor the patient page and PCR summary page at 10 minute intervals. If you want to get notified when the page updates, please add @covid19hyogo_bot.

Help translate COVID-19 in Hyogo

Are you a translator? Please help translate the page! To translate, visit the localization project at Transifex.com and click Help Translate "Covid-19 in Hyogo". A free Transifex account is needed.

This will be pro bono work, but let me buy you a beer if you locate in Hyogo. :)

Usage

This project uses node and npm. Go check them out if you don't have them locally installed.

To run a local development server at localhost:8080:

yarn serve

To build for production:

yarn build

Lint and fix your code before building:

yarn format

Retrieve the latest data:

yarn scrape

Contributing

Comments and contributions welcome! Please submit an issue or send a pull request directly.

Built with

  • Vue.js - The Progressive JavaScript Framework
  • Chart.js - Simple yet flexible JavaScript charting for designers & developers
  • Leaflet - An open-source JavaScript library for mobile-friendly interactive maps
  • openpyxl - A Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.
  • gspread - A simple interface for working with Google Sheets.
  • pandas - An open source data analysis and manipulation tool for Python.
  • And many great open source software.

License

This project is licensed under the MIT License

About

Responsible visualizations of COVID-19 in Hyogo Prefecture, Japan

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published