Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

yi xiao Map

Public visualization

yi xiao Map

0 stars0🌍 Public
JJesse Luo
Last edited Dec 17, 2020
Created on Dec 17, 2020
Forked from yi xiao Map

This example shows a choropleth map of U.S. states colored by the logarithm of their seven-day average positive COVID-19 test counts, with tooltips revealing state names, death averages, and positive test averages. Built with D3 v6 and TopoJSON, it uses `d3.geoAlbersUsa` for projection, `d3.geoPath` to render state boundaries, and `d3.scaleOrdinal` with the `schemeOrRd` color scheme. Data comes from a CSV file linked in the code, and the map is rendered as SVG with hover effects that change state fill colors.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed