🌍 Public
Viewing a saved revision (read-only)
906e8f5ae89d41799bda2a44df862b68
India Map: ICE-8
This example visualizes India’s administrative states as an SVG map, with each state filled by a categorical color from D3’s `schemeCategory10` and named via tooltips. The code loads GeoJSON from a gist, uses `d3.geoMercator` for projection and `d3.geoPath` to generate paths, while `topojson.feature` extracts the state boundaries. A black stroke between the states highlights the borders. The map displays all states except the first feature, which is removed from the dataset.
AI-generated descriptionA demonstration of how to start using D3 version 6.