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 Snapping
https://d3js.org/d3.v4.0.0-alpha.49.min.js