Skip to main content
100%

Sriram ICE 8 Country map

✓ Published0🌍 Public
SSriram-Voruganti
Last edited Mar 27, 2023
Created on Mar 27, 2023
Forked from Hello VizHub

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 description

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

See also React Starter.

MIT Licensed

Similar vizzes