DynaVis: Dynamically Synthesized UI Widgets for Visualization Editing

Priyan Vaithilingam, Elena L. Glassman, Jeevana Priya Inala, Chenglong Wang · DOI · OpenReview

TL;DR

This paper introduces DynaVis, a system that combines natural language commands with dynamically generated UI widgets to make editing visualizations easier and more interactive. By synthesizing custom widgets on-the-fly, DynaVis allows users to explore and refine visualizations with immediate visual feedback, leading to a more confident and efficient editing experience compared to traditional GUIs or NLI-only approaches.

What Problem Does This Paper Address?

Creating and editing visualizations can be a complex and daunting task for users. Traditional graphical user interfaces (GUIs) often present an overwhelming number of options, leading to user confusion. Conversely, custom UIs, while simpler, can be too restrictive. Natural Language Interfaces (NLIs) offer a way to specify edits using plain language, but they often lack the interactive exploration and immediate visual feedback that GUIs provide. This gap leaves users struggling to efficiently refine visualizations to precisely communicate their insights or explore data effectively.

Methods

DynaVis tackles this problem by creating a hybrid approach. When a user provides a natural language command to edit a visualization, DynaVis not only performs the edit but also synthesizes a dynamic UI widget that allows for further, fine-grained modifications. This widget is generated using a Large Language Model (LLM) and is tailored to the specific edit requested. The system comprises three main modules: a Data Summarizer to provide context to the LLM, a Chart Engine to generate/update visualization specifications, and a Widget Engine to synthesize the interactive widgets. The system uses Vega-Lite for declarative chart representation, enabling modular and compositional edits.

Datasets

The paper does not explicitly mention specific datasets used for training the LLM. However, the evaluation and user study utilized datasets related to stock trends, unemployment statistics, and weather data. These datasets were used to create base visualizations that participants then edited using DynaVis and a baseline NLI tool.

Key Insights and Ideas

  • Bridging the Gap: DynaVis effectively bridges the gap between the discoverability of NLIs and the interactivity of GUIs by dynamically generating widgets that offer immediate visual feedback and allow for iterative refinement.
  • Widget Synthesis as a Core Feature: The ability to automatically synthesize custom widgets based on user intent is a key innovation, allowing for highly tailored and context-aware interaction.
  • Empowering Exploratory Editing: Dynamic widgets significantly reduce the effort required for repetitive edits and exploratory tasks, enabling users to try out more options and gain confidence in their choices.
  • Improved User Experience: Study participants overwhelmingly preferred DynaVis over an NLI-only interface, citing ease of further edits and increased confidence due to immediate visual feedback.

Key Results

A user study with 24 participants revealed that:

  • Participants preferred DynaVis over a baseline NLI-only interface, with 96% strongly preferring it.
  • Users found DynaVis significantly easier to complete tasks with (μ = 6.26 vs. μ = 5.13 on a Likert scale).
  • The usage of natural language commands decreased significantly (from 8.4 to 2.67 per task) when using DynaVis, while dynamic widget usage increased substantially (13.25 times per task).
  • Participants reported less mental demand, feeling less hurried, more successful, and less frustrated when using DynaVis.
  • Prompting for dynamic widgets was perceived as easier and more reliable than using natural language commands for direct editing.

Limitations and Future Work

  • Overwhelming Dynamic Interfaces: For extended editing sessions, the constantly changing nature of dynamic interfaces can become overwhelming. The authors suggest future work on categorizing and managing widgets (e.g., grouping, collapsing).
  • Discoverability of Options: Like other NL interfaces, DynaVis doesn't present all possible options upfront, which can be a double-edged sword, potentially aiding discovery but also shifting the burden of discovery to the user.
  • Extending Modalities: The authors suggest incorporating voice commands, gestures, and direct manipulation for even richer interaction.
  • Generalization of Widgets: Exploring how dynamic widgets can be generalized beyond visualization editing to other applications with extensive configuration options is a promising avenue.
  • Accessibility: Investigating how to generate accessible widgets tailored to specific user needs is also a future direction.

Summary updated

BibTeX
@inproceedings{vaithilingam2024dynavis,
  author = {Priyan Vaithilingam and Elena L. Glassman and Jeevana Priya Inala and Chenglong Wang},
  title = {{DynaVis: Dynamically Synthesized UI Widgets for Visualization Editing}},
  booktitle = {CHI},
  year = {2024},
  doi = {10.1145/3613904.3642639},
}
Figure