Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

country map with Topojson data

Public visualization

Viewing a saved revision (read-only)

66d10ba54ce54b27829ffed6d53388ed

country map with Topojson data

0 stars0🌍 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