🌍 Public
Viewing a saved revision (read-only)
9a99ac46495b498ab0ff257a397755d7
Fork of Fork of Fork of India Map
A choropleth map of India's states, colored by state name using a categorical color scale, displays each state's name as a text label at its centroid. The map uses a Mercator projection applied via D3's `geoMercator` and `geoPath` to render SVG paths from TopoJSON data, specifically from a GitHub-hosted India states TopoJSON file. The code selects an SVG element, processes the TopoJSON features with `topojson.feature`, and applies D3 v5 APIs including `scaleOrdinal` and `schemeCategory10` for coloring.
AI-generated descriptionMap Of India