block by fil 402491c9a3fbeaf54e47179e90d1c7af

Pan & Zoom III + fix

Full Screen

This example demonstrates using d3-zoom to pan and zoom an SVG element by applying an SVG transform using transform.toString. The zoom behavior is applied to an invisible rect overlaying the SVG element; this ensures that it receives input, and that the pointer coordinates are not affected by the zoom behavior’s transform.

forked from mbostock‘s block: Pan & Zoom III

forked from Fil‘s block: Pan & Zoom III

index.html