Assignment8_sowjanya_countryMap
✓ Published0🌍 Public
A choropleth of the United States displays median age by state, using a pastel threshold color scale with seven bins ranging from under 32 to over 46 years. The visualization loads US Census-derived CSV data and TopoJSON state boundaries via `Promise.all`, then renders each state as an SVG `path` using `d3.geoPath` with the `geoAlbersUsa` projection. Hovering reveals a tooltip with the state name and median age, while a horizontal legend beneath the map shows the color breaks. The code relies on D3 v7 and the topojson-client library.
AI-generated descriptionMIT Licensed