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.
Modified http://mbostock.github.com/d3/d3.js?2.7.2 to a secure url
Modified http://mbostock.github.com/d3/d3.csv.js?2.7.2 to a secure url
Modified http://mbostock.github.com/d3/d3.time.js?2.7.2 to a secure url
https://mbostock.github.com/d3/d3.js?2.7.2
https://mbostock.github.com/d3/d3.csv.js?2.7.2
https://mbostock.github.com/d3/d3.time.js?2.7.2