Skip to main content
100%

Fork of Map of India

✓ Published0🌍 Public
NNita
Last edited Feb 24, 2021
Created on Feb 23, 2021
Forked from Map of India

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 description

The map of India - my country

MIT Licensed

Similar vizzes