🌍 Public
Viewing a saved revision (read-only)
0b70e144fdd74cb5a7da3bc13d5bad74
Fork of Fork of React Starter
This interactive map displays the states of India using GeoJSON data from the India State Map Data GitHub repository. Users hover over regions to reveal state names via a tooltip and click to toggle a persistent selection state, visualized by distinct fill colors. The visualization is built with React and D3.js, leveraging `d3.geoMercator` for projection, `d3.geoPath` for geographic paths, and state-based styling to update SVG attributes dynamically. The map loads the geographic data asynchronously and handles loading and error states.
AI-generated descriptionReact Starter code. India State Map Data