Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of India Map

Public visualization

Fork of India Map

0 stars0🌍 Public
Vvamshisoletii
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Hello VizHub

This example renders a choropleth map of Indian states using D3 v5 and TopoJSON, with each state colored by a categorical color scale and labeled with its name at the centroid. The visualization uses a geoMercator projection and d3.geoPath to draw state boundaries from the external TopoJSON source, while d3.scaleOrdinal and schemeCategory10 assign colors. State names are positioned using pathGenerator.centroid, and hover effects are not implemented.

AI-generated description

Map Of India

Comments

Sign in to join the discussion.

MIT Licensed