India Map: ICE-8
✓ Published0🌍 Public
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.
MIT Licensed