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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ad669bf5-9059-4c7b-9bb2-8141db5939cfCited by top-tier papers4
- Metrics-Based Evaluation and Comparison of Visualization NotationsNicolas Kruchten, Andrew M. McNutt, Michael J. McGuffinIEEE VIS 2023 · 8 citations
- 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
- 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
- VMC: A Grammar for Visualizing Statistical Model ChecksZiyang Guo, Alex Kale, Matthew Kay, Jessica HullmanIEEE VIS 2024 · 1 citation
Builds on18
- 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
- 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
- Surfacing Visualization MiragesAndrew M. McNutt, Gordon Kindlmann, Michael CorrellCHI 2020 · 103 citations
- Synthesizing Natural Language to Visualization (NL2VIS) Benchmarks from NL2SQL BenchmarksYuyu Luo, Nan Tang, Guoliang Li, Chengliang Chai et al.SIGMOD 2021 · 90 citations
- B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
Related papers
- GoFish: A Grammar of More Graphics!Josh Pollock, Arvind SatyanarayanIEEE VIS 2025 · 2 citations
- A Probabilistic Grammar of GraphicsXiaoying Pu, Matthew KayCHI 2020 · 31 citations
- ggdist: Visualizations of Distributions and Uncertainty in the Grammar of GraphicsMatthew KayIEEE VIS 2023 · 112 citations
- No Grammar to Rule Them All: A Survey of JSON-style DSLs for VisualizationAndrew M. McNuttIEEE VIS 2022 · 37 citations
- IGScript: An Interaction Grammar for Scientific Data PresentationRichen Liu, Min Gao, Shunlong Ye, Jiang ZhangCHI 2021 · 15 citations
