🌍 Public
Viewing a saved revision (read-only)
16e54a5e4e9946ba9c4e0d6a272dcd1a
Fork state map_hd
This interactive SVG map displays the average household income for select Indian states, with a green-shaded choropleth and pop-up tooltips showing dollar amounts on hover. Built with D3.js, it loads GeoJSON state boundaries and applies a Mercator projection via `d3.geoMercator` and `d3.geoPath`. Color encoding uses `d3.scaleSequential` with an interpolator, and a gradient legend with `d3.axisBottom` summarizes the scale. Only four states (Maharashtra, Kerala, Bihar, Delhi) have values; others render gray.
AI-generated description