🌍 Public
Viewing a saved revision (read-only)
0bf7eec6c2ad44f6ac6916e9f39a90f8
Alankruth
This example displays a choropleth map of India, rendering the country’s state boundaries as red-stroked SVG paths. It uses the `geoMercator` projection and `geoPath` from D3 v5 to project geographic coordinates, while React components manage the data loading and SVG rendering. The TopoJSON source is fetched from a GitHub gist, and the `feature` function from topojson converts the topology into GeoJSON features for drawing.
AI-generated descriptionIndian map