All examples By author By category About

alexmacy

Brush Slider Test

Update 1/27/2017

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.