Skip to main content
100%

ice 8 india map

✓ Published0🌍 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

MIT Licensed

Similar vizzes