DynaVis: Dynamically Synthesized UI Widgets for Visualization Editing
Priyan Vaithilingam, Elena L. Glassman, Jeevana Priya Inala, Chenglong Wang
TL;DR
DynaVis tackles the challenge of visualizations with a large editing option space by blending natural language interfaces with dynamically synthesized GUI widgets. It introduces a widget synthesis engine driven by LLMs to generate both visual edits (Vega-Lite) and executable UI controls that persist for iterative refinement, enabling immediate visual feedback and fine-grained adjustments. A three-stage pipeline (data-grounded pre-processing, LLM-based synthesis, and program-analysis post-processing) ensures reliable chart updates and widget functionality. A within-subject user study (n=24) shows that DW (dynamic widgets) reduces editing effort, increases perceived control, and improves task ease compared to an NL-only baseline, though widget proliferation can overwhelm users in long sessions. Overall, DynaVis demonstrates how hybrid NL and dynamic UI widgets can lower the gulf of execution in visualization editing while preserving the explorability and feedback that static interfaces lack, with broad implications for no-code visualization and beyond.
Abstract
Users often rely on GUIs to edit and interact with visualizations - a daunting task due to the large space of editing options. As a result, users are either overwhelmed by a complex UI or constrained by a custom UI with a tailored, fixed subset of options with limited editing flexibility. Natural Language Interfaces (NLIs) are emerging as a feasible alternative for users to specify edits. However, NLIs forgo the advantages of traditional GUI: the ability to explore and repeat edits and see instant visual feedback. We introduce DynaVis, which blends natural language and dynamically synthesized UI widgets. As the user describes an editing task in natural language, DynaVis performs the edit and synthesizes a persistent widget that the user can interact with to make further modifications. Study participants (n=24) preferred DynaVis over the NLI-only interface citing ease of further edits and editing confidence due to immediate visual feedback.
