Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Map of India with D3 - chloropleth map-APR 23, 2021

Public visualization

Fork of Map of India with D3 - chloropleth map-APR 23, 2021

0 stars0🌍 Public
NNita
Last edited Mar 31, 2024
Created on Mar 31, 2024

This choropleth map of India colors each district by its state using a categorical color scale, with district labels positioned at their centroids. It loads district boundaries from a TopoJSON file and renders them as SVG paths via `d3.geoPath` with a Mercator projection, applying fill colors through `d3.scaleOrdinal` and `d3.schemeCategory10`. Tooltips show the state name for each district.

AI-generated description

The map of India - my country

Comments

Sign in to join the discussion.

MIT Licensed