Skip to content

Instantly share code, notes, and snippets.

View jonypawks's full-sized avatar

Jesse Printz jonypawks

View GitHub Profile
@jonypawks
jonypawks / README.md
Created October 11, 2013 20:04 — forked from mbostock/.block

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!