Skip to main content
100%

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

✓ Published0🌍 Public
NNita
Last edited May 15, 2024
Created on Mar 31, 2024

This choropleth map of India colors district boundaries by state using a categorical color scale. The visualization renders district polygons as SVG paths and labels each with its state name at the polygon’s centroid. It uses d3.json to load district-level TopoJSON from a GitHub repository, topojson.feature to convert it to GeoJSON, and d3.geoMercator with d3.geoPath for projection and rendering. The code also applies d3.scaleOrdinal with schemeCategory10 for fills and sets stroke styling via CSS.

AI-generated description

The map of India - my country

MIT Licensed

Similar vizzes