Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Country map

Public visualization

Country map

0 stars1🌍 Public
Uubl2
Last edited Mar 31, 2022
Created on Mar 30, 2022

This visualization shows a choropleth map of India’s states, with each state filled by a distinct color from a categorical scale and labeled with its name. The map is rendered as SVG using `d3.geoPath` with a `geoMercator` projection, while state boundaries are drawn from TopoJSON data loaded from a GitHub gist. A `scaleOrdinal` with `schemeCategory10` assigns colors, and text labels are placed at each state’s centroid via `pathGenerator.centroid`.

AI-generated description

The map of India - my country

Comments

Sign in to join the discussion.

MIT Licensed