Skip to main content
Public

Share visualization

Loading preview…

ice 8 india map

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ice 8 india map

0
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

Comments

Sign in to join the discussion.

MIT Licensed