Sriram ICE 8 Country map
✓ Published0🌍 Public
This visualization displays the states of India as a colored SVG map, with each state filled using a categorical color scale and labeled with its name at the geographic centroid. The code leverages D3’s `geoMercator` projection and `geoPath` to generate the map paths from TopoJSON data, while `feature` and `mesh` from topojson extract the state boundaries. State names are positioned using `pathGenerator.centroid`, and the color scheme comes from `scaleOrdinal(schemeCategory10)`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed