PI2: End-to-end Interactive Visualization Interface Generation from Queries
Yiru Chen, Eugene Wu
Abstract
Interactive visualization interfaces are critical in data analysis. Yet creating new interfaces is challenging, as the developer must understand the queries needed for the desired analysis task, and then design the appropriate interface. Existing task models are too abstract to be used to automatically generate interfaces, and visualization recommenders do not take the queries nor interactions into account. PI2 is the first system to generate fully functional interactive visualization interfaces from a representative sequence of task queries. PI2 analyzes queries syntactically and proposes a novel Difftree representation that encodes the systematic variations between query abstract syntax trees. PI2 then poses interface generation as a schema mapping problem from each Difftree to a visualization that renders its results, and the variations encoded in each Difftree to interactions in the interface. Interface generation further takes the layout and screen size into account. Our user studies show that PI2 interfaces are comparable to or better than those designed by developers, and that PI2 can generate exploration interfaces that are easier to use than the state-of-the-art SQL notebook products. What's more, PI2 generates high-quality interfaces within a few seconds.
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 2f59d4df-7a60-45a8-82bb-e744fd668491Cited by top-tier papers10
- DynaVis: Dynamically Synthesized UI Widgets for Visualization EditingPriyan Vaithilingam, Elena L. Glassman, Jeevana Priya Inala, Chenglong WangCHI 2024 · 56 citations
- HAIChart: Human and AI Paired Visualization SystemYupeng Xie, Yuyu Luo, Guoliang Li, Nan TangVLDB 2024 · 47 citations
- InkSight: Leveraging Sketch Interaction for Documenting Chart Findings in Computational NotebooksYanna Lin, Haotian Li, Leni Yang, Aoyu Wu et al.IEEE VIS 2023 · 41 citations
- Notable: On-the-fly Assistant for Data Storytelling in Computational NotebooksHaotian Li, Lu Ying, Haidong Zhang, Yingcai Wu et al.CHI 2023 · 38 citations
- Mosaic: An Architecture for Scalable & Interoperable Data ViewsJeffrey Heer, Dominik MoritzIEEE VIS 2023 · 23 citations
Builds on3
- Scout: Rapid Exploration of Interface Layout Alternatives through High-Level Design ConstraintsAmanda Swearngin, Chenglong Wang, Alannah Oleson, James Fogarty et al.CHI 2020 · 58 citations
- Lyra 2: Designing Interactive Visualizations by DemonstrationJonathan Zong, Dhiraj Barnwal, Rupayan Neogy, Arvind SatyanarayanIEEE VIS 2020 · 50 citations
- Falx: Synthesis-Powered Visualization AuthoringChenglong Wang, Yu Feng, Rastislav Bodík, Isil Dillig et al.CHI 2021 · 35 citations
Related papers
- Dupo: A Mixed-Initiative Authoring Tool for Responsive VisualizationHyeok Kim, Ryan A. Rossi, Jessica Hullman, Jane HoffswellIEEE VIS 2023 · 9 citations
- An Adaptive Benchmark for Modeling User Exploration of Large DatasetsJoanna Purich, Anthony Wise, Leilani BattleSIGMOD 2025 · 1 citation
- VisGuide: User-Oriented Recommendations for Data Event ExtractionYu-Rong Cao, Xiao-Han Li, Jia-Yu Pan, Wen-Chieh LinCHI 2022 · 13 citations
- An Evaluation-Focused Framework for Visualization Recommendation AlgorithmsZehua Zeng, Phoebe Moh, Fan Du, Jane Hoffswell et al.IEEE VIS 2021 · 35 citations
- Physical Visualization Design: Decoupling Interface and System DesignYiru Chen, Xupeng Li, Jeffrey Tao, Lana Ramjit et al.SIGMOD 2025 · 4 citations
