Lune

SIGMOD2022Top-tier venue

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 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.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • InkSight: Leveraging Sketch Interaction for Documenting Chart Findings in Computational Notebooks cites Notable: On-the-fly Assistant for Data Storytelling in Computational Notebooks
  • Falx: Synthesis-Powered Visualization Authoring cites Scout: Rapid Exploration of Interface Layout Alternatives through High-Level Design Constraints
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. DynaVis: Dynamically Synthesized UI Widgets for Visualization EditingPriyan Vaithilingam, Elena L. Glassman, Jeevana Priya Inala, Chenglong WangCHI 2024 · 56 citations
  2. HAIChart: Human and AI Paired Visualization SystemYupeng Xie, Yuyu Luo, Guoliang Li, Nan TangVLDB 2024 · 47 citations
  3. 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
  4. Notable: On-the-fly Assistant for Data Storytelling in Computational NotebooksHaotian Li, Lu Ying, Haidong Zhang, Yingcai Wu et al.CHI 2023 · 38 citations
  5. Mosaic: An Architecture for Scalable & Interoperable Data ViewsJeffrey Heer, Dominik MoritzIEEE VIS 2023 · 23 citations

Builds on3

  1. 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
  2. Lyra 2: Designing Interactive Visualizations by DemonstrationJonathan Zong, Dhiraj Barnwal, Rupayan Neogy, Arvind SatyanarayanIEEE VIS 2020 · 50 citations
  3. Falx: Synthesis-Powered Visualization AuthoringChenglong Wang, Yu Feng, Rastislav Bodík, Isil Dillig et al.CHI 2021 · 35 citations

Related papers

  1. Dupo: A Mixed-Initiative Authoring Tool for Responsive VisualizationHyeok Kim, Ryan A. Rossi, Jessica Hullman, Jane HoffswellIEEE VIS 2023 · 9 citations
  2. An Adaptive Benchmark for Modeling User Exploration of Large DatasetsJoanna Purich, Anthony Wise, Leilani BattleSIGMOD 2025 · 1 citation
  3. VisGuide: User-Oriented Recommendations for Data Event ExtractionYu-Rong Cao, Xiao-Han Li, Jia-Yu Pan, Wen-Chieh LinCHI 2022 · 13 citations
  4. An Evaluation-Focused Framework for Visualization Recommendation AlgorithmsZehua Zeng, Phoebe Moh, Fan Du, Jane Hoffswell et al.IEEE VIS 2021 · 35 citations
  5. Physical Visualization Design: Decoupling Interface and System DesignYiru Chen, Xupeng Li, Jeffrey Tao, Lana Ramjit et al.SIGMOD 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines