Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

assignment

Public visualization

assignment

0 stars0🌍 Public
Ssri7harsha
Last edited Apr 3, 2022
Created on Apr 3, 2022

This interactive choropleth-style map displays a first-level drill-down from Indian states to their districts. Clicking a state triggers a smooth zoom animation into that region, revealing its district boundaries from a second TopoJSON dataset. Built with React and D3 v6, it uses `d3.geoMercator`, `d3.geoPath`, and `d3.zoom` to handle projection, path generation, and zoom-to-bounding-box transitions. SVG elements render all geographic features, with a stroke-width adjustment that responds to zoom scale for crisp outlines.

AI-generated description

react first level drilldown map using zoom

Comments

Sign in to join the discussion.

MIT Licensed