Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 8 Indian map

Public visualization

ICE 8 Indian map

0 stars0🌍 Public
Aajayrao0
Last edited Apr 5, 2022
Created on Apr 5, 2022

This interactive map of India renders both state and district boundaries using a spherical Mercator projection, centered on the country with color-coded districts from a categorical palette. Hovering over a district turns it yellow and reveals its name and state via a tooltip. Built with React and D3, the code uses `d3.geoMercator`, `d3.geoPath`, and `d3.scaleOrdinal` to generate SVG paths from TopoJSON sources, while `d3.zoom` enables pan and zoom interactions.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed