block by SpaceActuary 2f004899ea1b2bd78d6f1dbb2febf771

Brush v4

Full Screen

This brush snaps to day boundaries. On release, the brush fires an end event, allowing a listener to modify the brush selection. Using brush.move to initiate a transition, the brush smoothly interpolates from the original selection to the rounded selection. Compare this approach to using immediate snapping while brushing.

forked from mbostock‘s block: Brush v4

index.html