Covid-19 data in Python

What did New York geeks do this spring? Obsess over pandemic data.

The best data source for US data is Covid Tracking, the Atlantic Monthly project used by many hospitals and the US government. I was able to muck around in python and make this GIF.

Additional data for the state shapes is from and population data from (because I might want to break it down farther). After that it is just matplotlib, pandas & geopandas. I’m hoping to get the time to clean it up and put it up on github, but I’m happy to share it.

Update: Replaced the GIF with a version updated through 7/25, also using a rolling mean instead of raw numbers for the line graphs (smooth out spikes).