CountryMap
✓ Published0🌍 Public
This interactive map of India uses a Mercator projection to display state and district boundaries, with clickable regions that zoom and pan to focus on a selected area while triggering a callback. Built with React and D3 v6, it leverages `geoMercator`, `geoPath`, and `d3.zoom` to handle scaling and transitions. The geographic data is fetched from a TopoJSON file via `topojson.feature`, and the SVG polygons are rendered with smooth 500ms zoom animations.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed