An example of d3.behavior.zoom applied using x- and y-scales. This example can be extended with programmatic control to animate between preset views.
forked from mbostock's block: Pan+Zoom
forked from ZhengYingqian's block: Pan+Zoom
https://d3js.org/d3.v3.min.js