{{ chosen_domain == 'US' ? 'USA' : chosen_domain == 'Intl' ? 'International' : 'Local' }} COVID-19 Chart APIMaker

Stats on {{ chosen_top }} {{ chosen_domain == 'US' ? 'states' : chosen_domain == 'Intl' ? 'countries outside China' : 'localities in ' + chosen_domain }} with highest numbers. Data are from coronadatascraper.com Johns Hopkins CSSE. Click on the legend to toggle a series. Hover on points for specific numbers. Print the chart.

Customized charts are directly linkable by URL. URL parameters can be edited directly, or in the form below. To plot a custom set of states or countries, use the "include" field; to omit the top 10, reduce the "top" field to zero. Make bare plots for embedding with "bare=1".

Domain: (US/Intl)
Series: (confirmed/deaths)
Stat: (totals/deltas)
Scale: (linear/log10)
Norm: (none/first/pop)
Start: (>=num, or m/d/y)
Top: (integer)
Include: (';' between states)
Select: (';' between states)
Theme: (white/dark/paper)
Advanced: (1 or 0)
Bare: (1 or 0)
Bare chart embed code:

For policymakers, the chart can compare exponental growth of coronavirus cases. Select the logarithmic totals with a >=100 starting threshold, so that day zero is the first day there are 100 cases in a state. Over time, if different states' policies have different effects on the growth of the virus, the exponents, and thus the slopes, will reveal the differences.

For doctors who must deal with the patients who walk into the ER and who who lie sick in ICU beds, the linear view of day-to-day changes is more appropriate. To see these plots, switch to the 'delta linear' view in the current month. The spikes show why the panic is justified, and why minor policy changes have massive ramifications.

The graph you make will automatically update every day based on current data. Please share. And please isolate.

I made this plot to help my physician wife see summaries of US COVID-19 stats that are not being graphed in the press. The logarithmic view is inspired by the FT COVID-19 plot by John Burn-Murdoch, which reveals policy differences internationally. It is an easy-to-modify HTML page (using chartist.js, vue.js, lodash.js); pull requests are welcome.

⮕{{ chosen_advanced == 1 ? 'Close' : 'Open' }} advanced mode. Blog post. Code on github. Open source. (MIT license.) Thanks to the support of MIT Quest. Seeking Vue.js+D3 people to help improve this resource.

- David Bau