Lune

CHI2023Top-tier venue

How Data Analysts Use a Visualization Grammar in Practice

Xiaoying Pu, Matthew Kay

Abstract

Visualization grammars, often based on the Grammar of Graphics (GoG), have much potential for augmenting data analysis in a programming environment. However, we do not know how analysts conceptualize grammar abstractions, or how a visualization grammar works with data analysis in practice. Therefore, we qualitatively analyzed how experienced analysts (N = 6) from TidyTuesday, a social data project, wrangled and visualized data using GoG-based ggplot2 without given tasks in R Markdown. Though participants’ analysis and customization needs could mismatch with GoG component design, their analysis processes aligned with the goal of GoG to expedite visualization iteration. We also found a feedback loop and tight coupling between visualization and data transformation code, explaining both participants’ productivity and their errors. From these results, we discuss how future visualization grammars can become more practical for analysts and how visualization grammar and analysis tools can better integrate within a programming (i.e., computational notebook) environment.

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.

4 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

  • B2: Bridging Code and Interactive Visualization in Computational Notebooks cites Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
  • B2: Bridging Code and Interactive Visualization in Computational Notebooks cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Metrics-Based Evaluation and Comparison of Visualization Notations cites Surfacing Visualization Mirages
  • Charting EDA: Characterizing Interactive Visualization Use in Computational Notebooks with a Mixed-Methods Formalism cites B2: Bridging Code and Interactive Visualization in Computational Notebooks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Metrics-Based Evaluation and Comparison of Visualization NotationsNicolas Kruchten, Andrew M. McNutt, Michael J. McGuffinIEEE VIS 2023 · 8 citations
  2. Charting EDA: Characterizing Interactive Visualization Use in Computational Notebooks with a Mixed-Methods FormalismDylan Wootton, Amy Rae Fox, Evan Peck, Arvind SatyanarayanIEEE VIS 2024 · 5 citations
  3. BEMTrace: Visualization-Driven Approach for Deriving Building Energy Models from BIMAndreas Walch, Attila Szabó, Harald Steinlechner, Thomas Ortner et al.IEEE VIS 2024 · 5 citations
  4. VMC: A Grammar for Visualizing Statistical Model ChecksZiyang Guo, Alex Kale, Matthew Kay, Jessica HullmanIEEE VIS 2024 · 1 citation

Builds on18

  1. What's Wrong with Computational Notebooks? Pain Points, Needs, and Design OpportunitiesSouti Chattopadhyay, Ishita Prasad, Austin Z. Henley, Anita Sarma et al.CHI 2020 · 162 citations
  2. 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
  3. Surfacing Visualization MiragesAndrew M. McNutt, Gordon Kindlmann, Michael CorrellCHI 2020 · 103 citations
  4. Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL BenchmarksYuyu Luo, Nan Tang, Guoliang Li, Chengliang Chai et al.SIGMOD 2021 · 90 citations
  5. B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations

Related papers

  1. GoFish: A Grammar of More Graphics!Josh Pollock, Arvind SatyanarayanIEEE VIS 2025 · 2 citations
  2. A Probabilistic Grammar of GraphicsXiaoying Pu, Matthew KayCHI 2020 · 31 citations
  3. ggdist: Visualizations of Distributions and Uncertainty in the Grammar of GraphicsMatthew KayIEEE VIS 2023 · 112 citations
  4. Remote, but Connected: How #TidyTuesday Provides an Online Community of Practice for Data ScientistsNischal Shrestha, Titus Barik, Chris ParninCSCW 2021 · 15 citations
  5. No Grammar to Rule Them All: A Survey of JSON-style DSLs for VisualizationAndrew M. McNuttIEEE VIS 2022 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines