🌍 Public
Viewing a saved revision (read-only)
c8479908f75440e98426d9e0264748e8
US Map
This map shows the subdivisions of India, rendered as colored polygons with state names labeled at their centroids. Built with D3 v5 and TopoJSON, it loads geographical data from a remote TopoJSON file, converts it to GeoJSON using the `topojson.feature` function, and projects it with `d3.geoMercator`. An ordinal color scale colors each state, while state boundaries appear as white strokes. Hovering turns a state yellow, and a simple tooltip displays the state name. The rendering uses SVG paths and text elements.
AI-generated description