Viewing a saved revision (read-only)
8a41b13bbf5541b1a06bc48e280fba8a
Pollution in US with counties by React and d3
This choropleth map displays PM2.5 air pollution concentrations across US counties for the year 2000, with counties lacking data rendered in grey. Built with React and d3.v5, the visualization uses `d3.geoIdentity` and `d3.geoPath` to project county boundaries from a TopoJSON atlas, while a `d3.scaleSequential` with an `interpolateYlGnBu` color scheme encodes pollution values. The data originates from a CSV file of county-level PM2.5 measurements, filtered through a custom React hook and passed as a Map to the SVG marks component.
AI-generated descriptionAn early version of the final project.
- Marked area with no data record by grey color.
- Drew a wireframe of the US map with counties.
- Filled the wireframe by the PM2.5 concentration data in 2000.
Data of PM2.5 concentration from PM2.5 by County.
County boundries from US county altas.
Adapted and extended from Mass School District Boundaries
Inspired by Choropleth.