Lune

CHI2021Top-tier venue

Integrated Visualization Editing via Parameterized Declarative Templates

Andrew M. McNutt, Ravi Chugh

Abstract

Interfaces for creating visualizations typically embrace one of several common forms. Textual specification enables fine-grained control, shelf building facilitates rapid exploration, while chart choosing promotes immediacy and simplicity. Ideally these approaches could be unified to integrate the user-and usage-dependent benefits found in each modality, yet these forms remain distinct.

We propose parameterized declarative templates, a simple abstraction mechanism over JSON-based visualization grammars, as a foundation for multimodal visualization editors. We demonstrate how templates can facilitate organization and reuse by factoring the more than 160 charts that constitute Vega-Lite's example gallery into approximately 40 templates. We exemplify the pliability of abstracting over charting grammars by implementing-as a template-the functionality of the shelf builder Polestar (a simulacra of Tableau) and a set of templates that emulate the Google Sheets chart chooser. We show how templates support multimodal visualization editing by implementing a prototype and evaluating it through an approachability study.

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.

17 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

  • Animated Vega-Lite: Unifying Animation with a Grammar of Interactive Graphics cites Gemini: A Grammar and Recommender System for Animated Transitions in Statistical Graphics
  • B2: Bridging Code and Interactive Visualization in Computational Notebooks cites Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
  • EVM: Incorporating Model Checking into Exploratory Visual Analysis cites No Grammar to Rule Them All: A Survey of JSON-style DSLs for Visualization
  • On the Design of AI-powered Code Assistants for Notebooks cites B2: Bridging Code and Interactive Visualization in Computational Notebooks
  • On the Design of AI-powered Code Assistants for Notebooks cites Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
  • No Grammar to Rule Them All: A Survey of JSON-style DSLs for Visualization cites B2: Bridging Code and Interactive Visualization in Computational Notebooks
  • No Grammar to Rule Them All: A Survey of JSON-style DSLs for Visualization cites Gemini: A Grammar and Recommender System for Animated Transitions in Statistical Graphics
  • No Grammar to Rule Them All: A Survey of JSON-style DSLs for Visualization cites Surfacing Visualization Mirages
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. On the Design of AI-powered Code Assistants for NotebooksAndrew M. McNutt, Chenglong Wang, Robert A. DeLine, Steven Mark DruckerCHI 2023 · 78 citations
  2. No Grammar to Rule Them All: A Survey of JSON-style DSLs for VisualizationAndrew M. McNuttIEEE VIS 2022 · 37 citations
  3. Animated Vega-Lite: Unifying Animation with a Grammar of Interactive GraphicsJonathan Zong, Josh Pollock, Dylan Wootton, Arvind SatyanarayanIEEE VIS 2022 · 36 citations
  4. From 'Wow' to 'Why': Guidelines for Creating the Opening of a Data Video with Cinematic StylesXian Xu, Leni Yang, David Kei-Man Yip, Mingming Fan et al.CHI 2022 · 24 citations
  5. EVM: Incorporating Model Checking into Exploratory Visual AnalysisAlex Kale, Ziyang Guo, Xiaoli Qiao, Jeffrey Heer et al.IEEE VIS 2023 · 16 citations

Builds on12

  1. Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data ScientistsIan Drosos, Titus Barik, Philip J. Guo, Robert DeLine et al.CHI 2020 · 110 citations
  2. Surfacing Visualization MiragesAndrew M. McNutt, Gordon Kindlmann, Michael CorrellCHI 2020 · 103 citations
  3. B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
  4. Techniques for Flexible Responsive Visualization DesignJane Hoffswell, Wilmot Li, Zhicheng LiuCHI 2020 · 64 citations
  5. Gemini: A Grammar and Recommender System for Animated Transitions in Statistical GraphicsYounghoon Kim, Jeffrey HeerIEEE VIS 2020 · 61 citations

Related papers

  1. Learnable and Expressive Visualization Authoring Through Blended InterfacesSehi L'Yi, Astrid van den Brandt, Etowah Adams, Huyen N. Nguyen et al.IEEE VIS 2024 · 6 citations
  2. Understanding Visualization Authoring Techniques for Genomics Data in the Context of Personas and TasksAstrid van den Brandt, Sehi L'Yi, Huyen N. Nguyen, Anna Vilanova et al.IEEE VIS 2024 · 12 citations
  3. GoFish: A Grammar of More Graphics!Josh Pollock, Arvind SatyanarayanIEEE VIS 2025 · 2 citations
  4. NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language QueriesArpit Narechania, Arjun Srinivasan, John T. StaskoIEEE VIS 2020 · 210 citations
  5. Towards Natural Language-Based Visualization AuthoringYun Wang, Zhitao Hou, Leixian Shen, Tongshuang Wu et al.IEEE VIS 2022 · 74 citations
Dusk over the sea between two cliffs drawn in fine vertical lines