Message Boards Message Boards

GROUPS:

[NB] US Counties COVID-19 deaths plot

Posted 6 months ago
1373 Views
|
2 Replies
|
7 Total Likes
|

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.

2 Replies

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 5 months 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

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