mbostock
Using d3-brush to zoom to the brushed region. Double-click or double-tap to zoom out. Another approach is to use Focus + Context.
https://d3js.org/d3.v4.min.js