Skip to main content
100%

Fork of COVID-19 Map (Positive Cases)

✓ Published0🌍 Public
AAndrey Getmanov
Last edited May 30, 2022
Created on May 30, 2022

A choropleth map of the United States shows the relative number of COVID-19 cases, with state colors mapped to the log of the 7-day average positive test count using `d3.scaleThreshold` and `schemeOrRd`. Hovering a state turns it green, and a tooltip reveals additional 7-day averages for deaths, tests, positivity rate, and per-capita positives. The map is rendered with `d3.geoPath` and `geoAlbersUsa` from TopoJSON data, while a `VoronoiOverlay` using `d3.Delaunay` enables mouse interactions. React manages the overlay component, and a custom color legend displays the threshold scale.

AI-generated description

The colours of the states represent the relative number of COVID-19 cases (log number of cases per day) during the past 7 days.

Project for STAT5702 by Andy Cho, Andus Kong, and Xuanhao Wu

MIT Licensed

Similar vizzes