Fork of Country Map of India
✓ Published1🌍 Public
This interactive SVG map visualizes the country of India, colored by state using a categorical color scale. The visualization employs a Mercator projection to render the geographic boundaries, and hovering over a state highlights it in pink. Built with React and D3 v5, the code uses `d3.geoMercator`, `d3.geoPath`, and `d3.scaleOrdinal` to process and display TopoJSON data loaded from a GitHub gist. The map is rendered as SVG paths within a fixed 1060x900 canvas.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed