dc.js https://dc-js.github.io/dc.js/ is an extension of d3.js that has some extra UI features like the brush feature where user's can select a range by click dragging on the chart - https://dc-js.github.io/dc.js/examples/scatter-series.html
I was looking through the examples on: https://dc-js.github.io/dc.js/examples/ and the brush
in docs @ http://dc-js.github.io/dc.js/docs/html/dc.coordinateGridMixin.html#brushOn__anchor and was wondering if there was a way to mirror the brush across multiple charts that have the same domain?
I was hoping to have several series charts stacked on top of each other and when the user selects a range with the brush, it would select a range on all 3 charts (not zoom on them like the multiple focus charts example https://dc-js.github.io/dc.js/examples/multi-focus.html) just show the selection brush on each chart.
( ) = brush selection range | | = chart
Before brush selection:
Chart 1 - | |
Chart 2 - | |
Chart 3 - | |
After brush selection
Chart 1 - | ( ) |
Chart 2 - | ( ) |
Chart 3 - | ( ) |