This examples demonstrates how to use D3's brush component to implement focus + context zooming. Click and drag in the small chart below to pan or zoom.
forked from mbostock's block: Focus+Context via Brushing
forked from benduffin's block: Focus+Context via Brushing
https://d3js.org/d3.v3.min.js