Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of major cities of india

Public visualization

Fork of major cities of india

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

This interactive map of India displays state boundaries that zoom to reveal district-level detail when clicked. Built with React and D3 v6, it uses a Mercator projection with `d3.geoPath` to render TopoJSON boundaries from a Gist source. Clicking a state triggers a smooth zoom animation via `d3.transition`, focusing on the selected region while loading its constituent districts. The map supports panning and zooming up to 8x through `d3.zoom`, with SVG rendering for all geographic features.

AI-generated description

react first level drilldown map using zoom

Comments

Sign in to join the discussion.

MIT Licensed