Explain the significance of 'brushing and linking' in interactive visualizations.
Instruction: Describe what 'brushing and linking' entails and its benefits in exploring complex datasets.
Updated
Official answer
Brushing selects marks or an interval in one view. Linking carries that selection to related views through a shared record identity or a clearly defined selection predicate.
For example, brush transactions from one week in a time chart and highlight those same transactions in a price-versus-quantity scatter plot. The second view can retain unselected transactions in a neutral style for context. Filtering them out is a different behavior and should be explicit.
Decide whether a brush selects underlying records or an aggregate category, how multiple selections combine, and what clearing the selection means. Use stable IDs or a well-defined mapping; matching only screen coordinates or a repeated display label can select the wrong records.
Recompute aggregates and denominators consistently when filtering. Preserve authorization across every view and expose empty/partial results. Provide visible selection state, a reset control and a keyboard-operable equivalent to drag selection.
Test boundary points, duplicate labels, changing data and cross-view counts against a small known dataset. Linked views can support exploration, but they do not automatically establish causation, improve comprehension or make every relationship valid.