Skip to main content
100%

Fork of Fork of Map of India with D3 - chloropleth map

✓ Published5🌍 Public
NNita
Last edited Feb 23, 2021
Created on Feb 23, 2021

This choropleth map displays India’s districts, colored by state (NAME_1 property) using a categorical color scale, with district names overlaid at each shape’s centroid. It uses d3.geoMercator for projection and d3.geoPath to render SVG paths from TopoJSON data sourced from the Datameet Indian district boundaries dataset. The code applies a scaleOrdinal with schemeCategory10 for fills, appends title tooltips, and labels each feature via pathGenerator.centroid, while CSS sets stroke styling for boundaries.

AI-generated description

The map of India - my country

MIT Licensed

Similar vizzes