🌍 Public
Viewing a saved revision (read-only)
2972f4a7f4ee4f4a855b61a2cedd6250
India Map
A map of India displays each state as a semi-transparent purple polygon, with state names overlaid at their geographic centers. The visualization uses D3 v5 with a Mercator projection (`geoMercator`) and `geoPath` to render TopoJSON administrative boundaries from a Vietnam TopoJSON repository. State colors are assigned sequentially via `scaleOrdinal` and `interpolatePurples`. The SVG map is built using a React-compatible setup, though the example runs as plain JavaScript with D3 selections.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.