Skip to main content
100%

country map with Topojson data

✓ Published0🌍 Public
MMounika0927
Last edited Mar 29, 2023
Created on Mar 29, 2023

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
MIT Licensed

Similar vizzes