country map with Topojson data
✓ Published0🌍 Public
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 descriptionMIT Licensed