Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Country map ICE-8

Public visualization

Viewing a saved revision (read-only)

b7230b9521ba4d5da73b9151c4e7e2be

Country map ICE-8

0 stars1🌍 Public
Ppethavenu
Last edited Mar 27, 2023
Created on Mar 27, 2023

A choropleth map of Indian states renders each region in a distinct categorical color, with state names shown as hover titles. The visualization uses d3.geoMercator for projection and d3.geoPath to generate SVG paths from TopoJSON data. State boundaries are stroked in black for clarity, while d3.scaleOrdinal with schemeCategory10 assigns the fill colors. The code loads the India states TopoJSON from a remote URL and removes the first feature before rendering.

AI-generated description