This has been updated to d3.js v4 with comments explaining some of the changes. Brushes have been one of the more difficult aspects of moving from v3 to v4, but updating this block has clarified a lot for me.
Testing a brush-style slider, loosely based on Mike Bostock's Brush Handles example.
The number feedback at the top can be sent to a chart as a filter.
forked from alexmacy's block: Brush Slider Test