Pollution in US with counties by React and d3
This interactive choropleth visualizes PM2.5 pollution levels across US counties from 2000 to 2018. Users can drag a vertical slider or press a play button to animate through years, with county colors transitioning smoothly via the sequential `d3.interpolateYlGnBu` scale. Built with React and D3 v5, it uses `d3.geoPath` and `geoIdentity` projection to render county boundaries from the US Atlas TopoJSON, while county pollution data is loaded from a CSV and mapped to each feature. The legend displays the concentration range, and hovering over a county reveals its name and value.
AI-generated descriptionThe final version of the Data Visualization final project.
Data of PM2.5 concentration from PM2.5 by County.
County and state boundries from US county altas.
Adapted and extended from Mass School District Boundaries
Inspired by Choropleth.