Skip to main content
100%

Fork of Fork of Fork of India Map

✓ Published0🌍 Public
Vvamshisoletii
Last edited Mar 30, 2023
Created on Mar 30, 2023

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 description

Map Of India

MIT Licensed

Similar vizzes