🌍 Public
Viewing a saved revision (read-only)
2293c7ca20774e62a8f2b39a5790d3bf
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.