Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of India Map: ICE-8

Public visualization

Viewing a saved revision (read-only)

acfe0a0b552c4b6d8f123a3ef04334b0

Fork of Fork of India Map: ICE-8

0 stars0🌍 Public
GGalineeharika
Last edited Apr 10, 2023
Created on Apr 10, 2023

This example visualizes a map of India with each state filled using a categorical color scale. It renders every state as an SVG path and labels each one with its name centered on the state's centroid. The code uses D3 v5 APIs including `geoMercator`, `geoPath`, `scaleOrdinal`, and `schemeCategory10`, along with TopoJSON's `feature` method. State boundary data comes from a remote GeoJSON file hosted on GitHub, and the map is drawn with thick black strokes between states.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.