Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

India Map made with D3

Public visualization

India Map made with D3

0 stars0🌍 Public
TTusar
Last edited Jan 23, 2022
Created on Jan 23, 2022

This example shows a choropleth map of India’s states, each filled with a distinct color from a categorical scale and labeled with its name. Built with D3 v5, it loads TopoJSON state boundaries and renders them as SVG paths using a Mercator projection via `d3.geoPath` and `geoMercator`. State names are placed at each path’s centroid, while `d3.scaleOrdinal` and `schemeCategory10` assign colors.

AI-generated description

The map of India - my country

Comments

Sign in to join the discussion.

MIT Licensed