Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of India Map

Public visualization

Viewing a saved revision (read-only)

d7c39c69699a413c98bde583d248d04f

Fork of India Map

1 star7🌍 Public
RRupeshGandham
Last edited Jul 22, 2022
Created on Jul 22, 2022
Forked from Hello VizHub

This example displays a choropleth map of India’s states, colored with d3.scaleOrdinal and schemeCategory10, with each state labeled by name. It uses d3.geoMercator projection, d3.geoPath, and topojson.feature to render state boundaries from a TopoJSON file of India’s administrative regions. The first feature is removed with shift(), and state names are placed at each polygon’s centroid. SVG paths and text elements are generated via data joins, with titles appended for tooltip support.

AI-generated description

Map Of India