Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice 8 india map

Public visualization

Viewing a saved revision (read-only)

93fb743f80ef4e7e84bb60aeef17d50d

ice 8 india map

0 stars0🌍 Public
Aayodhyanandh
Last edited Apr 13, 2023
Created on Apr 13, 2023

This interactive map of India shows a drill-down from state boundaries to district-level detail. Clicking a state triggers an animated zoom, implemented with a custom pan-and-zoom transform via `d3.zoom` and `svg.transition().duration()`. The map is rendered as SVG paths using `d3.geoMercator` and `d3.geoPath`, with geographic data loaded as TopoJSON from a GitHub gist and converted to GeoJSON features via `topojson.feature`. The React front end manages state and click handlers through `useState` and `useEffect`.

AI-generated description

react first level drilldown map using zoom