CS 360: Assignment 9 Choropleth map in d3
This choropleth map visualizes poverty estimates across US states, with darker shades of gray indicating higher poverty rates on a 5-class ColorBrewer scale. The visualization merges data from a cleaned CSV file with US state GeoJSON boundaries using d3.csv and d3.json, then renders the map as SVG paths with d3.geoAlbersUsa projection and d3.geoPath. A d3.scaleQuantize maps poverty values to the color range, while states without matching data appear in light gray. The map includes a title and uses d3.v4 within a React framework.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
Resources:
https://github.com/scotthmurray/d3-book/blob/master/chapter_14/05_choropleth.html
Data cleaning using python. repo is below
Colors derived from ColorBrewer, by Cynthia Brewer Color type: 5-class greys
https://colorbrewer2.org/#type=sequential&scheme=Greys&n=5
json data found here
https://raw.githubusercontent.com/PublicaMundi/MappingAPI/master/data/geojson/us-states.json