Fork of Map of India
✓ Published0🌍 Public
This example shows a choropleth-style map of Indian states, colored by a categorical scale and labeled with state names. It loads population data from a CSV and geographic boundaries from a TopoJSON file, then joins them by state ID using `Promise.all`. The visualization uses `d3.geoMercator` for projection, `d3.geoPath` to render SVG paths, and `d3.scaleOrdinal` with `schemeCategory10` for coloring. Hover effects are applied to state paths via the `.states` CSS class, while tooltips display state names using SVG `<text>` elements.
AI-generated descriptionThe map of India - my country
MIT Licensed