Fork of Fork of Fork of Map of India with D3 - chloropleth map
✓ Published0🌍 Public
KKRITIKA RAI DWIVEDI
Last edited Jul 6, 2021
Created on Jul 6, 2021
This example shows a choropleth map of Indian districts, with each district filled by a categorical color based on its state (NAME_1) and labeled with the state name at the district’s centroid. It uses d3.json to load a TopoJSON file from the datameet repository, then converts it to GeoJSON with topojson.feature. The map is projected using d3.geoMercator and rendered as SVG paths via d3.geoPath, with a d3.scaleOrdinal and d3.schemeCategory10 assigning fill colors.
AI-generated descriptionThe map of India - my country
MIT Licensed