block by mbostock f2728977cc50761897f83323a8ea5000

Fixed Zoom

Full Screen

In this example of d3-zoom, the transform’s translate x and y are ignored; only the scale k is observed, allowing zooming around a fixed focal point. The focal point in world coordinates is represented by the variables fx and fy. The view is translated such that this point appears at the middle of the display.