Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

4d47c1ee830a433d971f8aeb669e35a2

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

0 stars0🌍 Public
Nnagamaheswar
Last edited Apr 1, 2022
Created on Apr 1, 2022

A choropleth map of India displays each state as a colored SVG path, with state names labeled at path centroids. The visualization uses D3 v5’s `d3.geoMercator` projection and `d3.geoPath` to render TopoJSON data from a remote GitHub repository. State colors are assigned via `d3.scaleOrdinal` with `schemeCategory10`, while `topojson.feature` extracts the geographic shapes. The code excludes the first feature, presumably to remove a national boundary, and appends hover-less, static text labels for each state.

AI-generated description

The map of India - my country