🌍 Public
Viewing a saved revision (read-only)
66d10ba54ce54b27829ffed6d53388ed
country map with Topojson data
A map of India displays district-level administrative boundaries, with each district colored by its state using an ordinal color scale derived from `d3.scaleOrdinal` and `d3.schemeCategory10`. The visualization loads two TopoJSON files—one for state outlines and one for districts—then projects them onto a `d3.geoMercator` projection centered on the country. `d3.geoPath` generates SVG paths for both layers, with hover effects on districts and zooming enabled via `d3.zoom`.
AI-generated description