Fork of Fork of Map of India with D3 - chloropleth map
✓ Published1🌍 Public
Bbhargavarathod
Last edited Mar 30, 2022
Created on Mar 30, 2022
Forked from Fork of Map of India with D3 - chloropleth map
This choropleth map of India uses a sequential color scale to encode each state with a distinct category color and labels each state with its name. The visualization relies on TopoJSON data for Indian state boundaries, which is projected and rendered using `d3.geoMercator` and `d3.geoPath`. The code filters out the first feature from the dataset before drawing the SVG paths, applies `d3.scaleOrdinal` with `schemeCategory10` for fills, and positions text labels at path centroids using `pathGenerator.centroid`.
AI-generated descriptionThe map of India - my country
MIT Licensed