Message Boards Message Boards

[NB] US Counties COVID-19 deaths plot

MODERATOR NOTE: coronavirus resources & updates: https://wolfr.am/coronavirus


enter image description here

I've found the NY Times plots here to be pretty useful:

https://www.nytimes.com/interactive/2020/03/21/upshot/coronavirus-deaths-by-country.html

But I wanted to be able to tinker with them. I already created ResourceFunction["NYTimesCOVID19Data"] (link) for retrieving the NY Times data. Now, I made the following notebook to create timeline plots, like the ones on the NY Times website. That website has plots for Countries and US States, but not for US Counties, so that is the first plot I made.

A side affect of this work was two new resource functions "TimeSeriesAlign" and "TimeSeriesSelect", which were published the function repository today.

At the end of the notebook, I show how to create this web form. I will not be keeping that up-to-date, but you can create and deploy your own copy and make improvements.

I hope some other people find this useful too. Stay safe out there folks.

POSTED BY: Bob Sandheinrich
2 Replies
Posted 4 years ago

Very useful!

Would you be able to color the lines by the counties' population densities?

In wolfram alpha the query 'populations of all US counties/(size of all US counties)' seems to retrieve the correct info.

(I always hate it when I show people my work and all they do is come back with some suggestion for something else I might add.)

Bernard

POSTED BY: Bernard Gress

enter image description here -- you have earned Featured Contributor Badge enter image description here

Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract