Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.38 KB

COVID-19 plots

Some plots. Parameters can be chosen using the URL. Pull requests welcome.

For example: https://holgerdell.github.io/COVID-19-plots/index.html?normalize=true&logplot=true&countries=China;Italy;South%20Korea

URL parameter dataset can be set to owid_total_cases (default), owid_total_deaths, jh_confirmed, jh_deaths, and jh_recovered.

Development

Install the development tools:

yarn install

Start a http server for local development:

yarn run http-server

Manually run the JavaScript linter standard:

yarn run standard

Manually run the CSS linter stylelint:

yarn run stylelint "**/*.css"

Both linters support --fix for automatic fixing.

Visual Studio Code provides the extensions chenxsan.vscode-standardjs and stylelint.vscode-stylelint for automatic linting.

Data Sources: