Declarative interaction design for data visualization

Arvind Satyanarayan, Kanit Wongsuphasawat and Jeffrey Heer

Abstract

Declarative visualization grammars can accelerate development, facilitate retargeting across platforms, and allow language-level optimizations. However, existing declarative visualization languages are primarily concerned with visual encoding, and rely on imperative event handlers for interactive behaviors. In response, we introduce a model of declarative interaction design for data visualizations. Adopting methods from reactive programming, we model low-level events as composable data streams from which we form higher-level semantic signals. Signals feed predicates and scale inversions, which allow us to generalize interactive selections at the level of item geometry (pixels) into interactive queries over the data domain. Production rules then use these queries to manipulate the visualization's appearance. To facilitate reuse and sharing, these constructs can be encapsulated as named interactors: standalone, purely declarative specifications of interaction techniques. We assess our model's feasibility and expressivity by instantiating it with extensions to the Vega visualization grammar. Through a diverse range of examples, we demonstrate coverage over an established taxonomy of visualization interaction techniques.

Venue
UIST 2014
Volume
Proceedings of the 27th annual ACM symposium on User interface software and technology
DOI
10.1145/2642918.2647360
PDF
https://dl.acm.org/doi/pdf/10.1145/2642918.2647360
Anthology ID
2014.uist.15

Cite

@inproceedings{satyanarayan-etal-2014-declarative,
    title = {{Declarative interaction design for data visualization}},
    author = {Arvind Satyanarayan and Kanit Wongsuphasawat and Jeffrey Heer},
    booktitle = {Proceedings of the 27th annual ACM symposium on User interface software and technology},
    isbn = {9781450330695},
    year = {2014},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/2642918.2647360},
    url = {https://doi.org/10.1145/2642918.2647360},
    abstract = {Declarative visualization grammars can accelerate development, facilitate retargeting across platforms, and allow language-level optimizations. However, existing declarative visualization languages are primarily concerned with visual encoding, and rely on imperative event handlers for interactive behaviors. In response, we introduce a model of declarative interaction design for data visualizations. Adopting methods from reactive programming, we model low-level events as composable data streams from which we form higher-level semantic signals. Signals feed predicates and scale inversions, which allow us to generalize interactive selections at the level of item geometry (pixels) into interactive queries over the data domain. Production rules then use these queries to manipulate the visualization's appearance. To facilitate reuse and sharing, these constructs can be encapsulated as named interactors: standalone, purely declarative specifications of interaction techniques. We assess our model's feasibility and expressivity by instantiating it with extensions to the Vega visualization grammar. Through a diverse range of examples, we demonstrate coverage over an established taxonomy of visualization interaction techniques.}
}