This example demonstrates brush transitions, a new feature in D3 3.3.
Try dragging the brush or selecting a new region. When you mouseup, the brush transitions smoothly back to its original position. The transition is initiated simply by applying the brush to a transition (rather than a selection), similar to automatic axis transitions. Note that interacting with the brush interrupts the current transition!
forked from mbostock's block: Brush Transitions
https://d3js.org/d3.v3.min.js