π Public
Viewing a saved revision (read-only)
31e6fe19449347e8b1baa25e94eaef11
Fork of map ice 8
This choropleth map shows poverty headcount ratios across Indian states, using a sequential YlGnBu color scale to encode percentages. Built with D3.js, it loads TopoJSON state boundaries and CSV poverty data, then renders them via a Mercator projection and `d3.geoPath`. Hovering reveals state names and exact poverty percentages in a tooltip, while a gradient legend with an axis provides context. States missing data appear gray. The code uses `d3.scaleSequential` for color mapping, `topojson.feature` for geometry conversion, and `d3.axisBottom` for the legend ticks.
AI-generated description