🌍 Public
Viewing a saved revision (read-only)
3b26510a52c24f909bba381ca87cb5ae
Map of India
This example displays a map of India rendered as SVG through a React application. It retrieves TopoJSON data from a remote URL and uses the `feature` function from `topojson` to extract geometries. The map is projected using `d3.geoMercator` with custom centering, scaling, and translation settings, and the paths are drawn with `d3.geoPath`. The code integrates React for state management and D3 v5 for geographic visualization.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.