Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 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 description

The map of India - my country

Comments

Sign in to join the discussion.

MIT Licensed