Skip to main content
100%

India Map

✓ Published0🌍 Public
DDat Codero
Last edited Mar 11, 2021
Created on Mar 11, 2021
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes