Libra: An Interaction Model for Data Visualization
Yue Zhao, Yunhai Wang, Xu Luo, Yanyan Wang, Jean-Daniel Fekete
Abstract
While existing visualization libraries enable the reuse, extension, and combination of static visualizations, achieving the same for interactions remains nearly impossible. Therefore, we contribute an interaction model and its implementation to achieve this goal. Our model enables the creation of interactions that support direct manipulation, enforce software modularity by clearly separating visualizations from interactions, and ensure compatibility with existing visualization systems. Interaction management is achieved through an instrument that receives events from the view, dispatches these events to graphical layers containing objects, and then triggers actions. We present a JavaScript prototype implementation of our model called Libra.js, enabling the specification of interactions for visualizations created by different libraries. We demonstrate the effectiveness of Libra by describing and generating a wide range of existing interaction techniques. We evaluate Libra.js through diverse examples, a metric-based notation comparison, and a performance benchmark analysis.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 54f2ecc1-9304-4926-a9ab-85014e1b141aCited by top-tier papers1
Ask how each one uses itBuilds on2
Related papers
- Lyra 2: Designing Interactive Visualizations by DemonstrationJonathan Zong, Dhiraj Barnwal, Rupayan Neogy, Arvind SatyanarayanIEEE VIS 2020 · 50 citations
- Anu.js: Accelerating Web-based Immersive AnalyticsDavid Saffo, Benjamin Lee, Feiyu Lu, Cheng Yao Wang et al.CHI 2026 · 1 citation
- VoxLens: Making Online Data Visualizations Accessible with an Interactive JavaScript Plug-InAther Sharif, Olivia H. Wang, Alida T. Muongchan, Katharina Reinecke et al.CHI 2022 · 88 citations
- Animated Vega-Lite: Unifying Animation with a Grammar of Interactive GraphicsJonathan Zong, Josh Pollock, Dylan Wootton, Arvind SatyanarayanIEEE VIS 2022 · 36 citations
- Mosaic Selections: Managing and Optimizing User Selections for Scalable Data Visualization SystemsJeffrey Heer, Dominik Moritz, Ron PechukIEEE VIS 2025 · 2 citations
