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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds 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
