rill
rill copied to clipboard
Feat: Scrub to Zoom for alternate charts
Add support for scrub to zoom for alternate charts
https://www.notion.so/rilldata/Enable-scrub-to-filter-on-measure-line-charts-5a662647d43e4e23937a709145bbdd9c https://www.notion.so/rilldata/UXQA-Alt-Viz-fb97d9eb1c5c4fb1bfb3328e83008172
Notes
- “scrubbing” or clicking and dragging across the chart
- MeasureChart - line (d3)
- TDDAlternateChart - others (vega-lite)
- MeasureScrub.svelte
Interaction
- https://vega.github.io/vega-lite/docs/selection.html#current-limitations
- Scrub demo: https://observablehq.com/@jonfroehlich/intro-to-interaction-in-vega-lite
- Click-drag and scroll to pan and zoom. Hold the shift key and click-drag for brushing. https://observablehq.com/@vega/vega-lite-composing-selections?collection=@vega/vega-lite-api
- Interval X: https://observablehq.com/@john-guerra/vega-lite-selection-methods
Related
- https://github.com/rilldata/rill/pull/2877
- https://github.com/rilldata/rill/pull/2967
- https://github.com/rilldata/rill/issues/4857
- https://github.com/rilldata/rill/pull/2131