Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Zoom to Feature

Public visualization

Viewing a saved revision (read-only)

64ae860b572146beb8abd2815a814dec

Zoom to Feature

0 stars2🌍 Public
AAnimesh Nautiyal
Last edited Mar 18, 2020
Created on Feb 28, 2020
Forked from Blank Canvas

Clicking a block in the Talasari or Jawhar block map zooms into that shape and filters the view to just its sub-features. The D3 v5 code uses `d3.geoMercator` and `d3.geoPath` to render the GeoJSON polygons, while `d3.zoom` handles pan and zoom transitions. A back button resets the map to the full district view. SVG paths trigger the zoom-to-bounding-box interaction with a smooth animated transition.

AI-generated description