Lune

IEEE VIS2022Top-tier venue

No Grammar to Rule Them All: A Survey of JSON-style DSLs for Visualization

Andrew M. McNutt

Abstract

There has been substantial growth in the use of JSON-based grammars, as well as other standard data serialization languages, to create visualizations. Each of these grammars serves a purpose: some focus on particular computational tasks (such as animation), some are concerned with certain chart types (such as maps), and some target specific data domains (such as ML). Despite the prominence of this interface form, there has been little detailed analysis of the characteristics of these languages. In this study, we survey and analyze the design and implementation of 57 JSON-style DSLs for visualization. We analyze these languages supported by a collected corpus of examples for each DSL (consisting of 4395 instances) across a variety of axes organized into concerns related to domain, conceptual model, language relationships, affordances, and general practicalities. We identify tensions throughout these areas, such as between formal and colloquial specifications, among types of users, and within the composition of languages. Through this work, we seek to support language implementers by elucidating the choices, opportunities, and tradeoffs in visualization DSL design.

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.

13 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

  • Metrics-Based Evaluation and Comparison of Visualization Notations cites How Data Analysts Use a Visualization Grammar in Practice
  • Metrics-Based Evaluation and Comparison of Visualization Notations cites Surfacing Visualization Mirages
  • How Data Analysts Use a Visualization Grammar in Practice cites B2: Bridging Code and Interactive Visualization in Computational Notebooks
  • How Data Analysts Use a Visualization Grammar in Practice cites Surfacing Visualization Mirages
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. ReVISit 2: A Full Experiment Life Cycle User Study FrameworkZach Cutler, Jack Wilburn, Hilson Shrestha, Yiren Ding et al.IEEE VIS 2025 · 25 citations
  2. EVM: Incorporating Model Checking into Exploratory Visual AnalysisAlex Kale, Ziyang Guo, Xiaoli Qiao, Jeffrey Heer et al.IEEE VIS 2023 · 16 citations
  3. How Data Analysts Use a Visualization Grammar in PracticeXiaoying Pu, Matthew KayCHI 2023 · 10 citations
  4. Metrics-Based Evaluation and Comparison of Visualization NotationsNicolas Kruchten, Andrew M. McNutt, Michael J. McGuffinIEEE VIS 2023 · 8 citations
  5. VegaProf: Profiling Vega VisualizationsJunran Yang, Alex Bäuerle, Dominik Moritz, Çagatay DemiralpUIST 2023 · 5 citations

Builds on20

  1. NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language QueriesArpit Narechania, Arjun Srinivasan, John T. StaskoIEEE VIS 2020 · 210 citations
  2. Surfacing Visualization MiragesAndrew M. McNutt, Gordon Kindlmann, Michael CorrellCHI 2020 · 103 citations
  3. Gosling: A Grammar-based Toolkit for Scalable and Interactive Genomics Data VisualizationSehi L'Yi, Qianwen Wang, Fritz Lekschas, Nils GehlenborgIEEE VIS 2021 · 73 citations
  4. B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
  5. Neo: Generalizing Confusion Matrix Visualization to Hierarchical and Multi-Output LabelsJochen Görtler, Fred Hohman, Dominik Moritz, Kanit Wongsuphasawat et al.CHI 2022 · 70 citations

Related papers

  1. Collecting and Characterizing Natural Language Utterances for Specifying Data VisualizationsArjun Srinivasan, Nikhila Nyapathy, Bongshin Lee, Steven Mark Drucker et al.CHI 2021 · 55 citations
  2. FeVisQA: Free-Form Question Answering over Data VisualizationsYuanfeng Song, Jinwei Lu, Yuanwei Song, Caleb Chen Cao et al.ICDE 2025 · 2 citations
  3. Integrated Visualization Editing via Parameterized Declarative TemplatesAndrew M. McNutt, Ravi ChughCHI 2021 · 39 citations
  4. IGScript: An Interaction Grammar for Scientific Data PresentationRichen Liu, Min Gao, Shunlong Ye, Jiang ZhangCHI 2021 · 15 citations
  5. A Framework for Multiclass Contour VisualizationSihang Li, Jiacheng Yu, Mingxuan Li, Le Liu et al.IEEE VIS 2022 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines