Skip to main content
100%

assignment

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

MIT Licensed

Similar vizzes