block by mbostock 7ec977c95910dd026812

Programmatic Pan+Zoom III

Full Screen

A variation of programmatic zoom where buttons can be used to zoom-in or zoom-out around the current center of the viewport.

Updated Example →

index.html