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 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 e5f5c79c-0fc8-41cc-b1c4-ba74be0bcae6Cited by top-tier papers13
- ReVISit 2: A Full Experiment Life Cycle User Study FrameworkZach Cutler, Jack Wilburn, Hilson Shrestha, Yiren Ding et al.IEEE VIS 2025 · 25 citations
- EVM: Incorporating Model Checking into Exploratory Visual AnalysisAlex Kale, Ziyang Guo, Xiaoli Qiao, Jeffrey Heer et al.IEEE VIS 2023 · 16 citations
- How Data Analysts Use a Visualization Grammar in PracticeXiaoying Pu, Matthew KayCHI 2023 · 10 citations
- Metrics-Based Evaluation and Comparison of Visualization NotationsNicolas Kruchten, Andrew M. McNutt, Michael J. McGuffinIEEE VIS 2023 · 8 citations
- VegaProf: Profiling Vega VisualizationsJunran Yang, Alex Bäuerle, Dominik Moritz, Çagatay DemiralpUIST 2023 · 5 citations
Builds on20
- NL4DV: A Toolkit for Generating Analytic Specifications for Data Visualization from Natural Language QueriesArpit Narechania, Arjun Srinivasan, John T. StaskoIEEE VIS 2020 · 210 citations
- Surfacing Visualization MiragesAndrew M. McNutt, Gordon Kindlmann, Michael CorrellCHI 2020 · 103 citations
- Gosling: A Grammar-based Toolkit for Scalable and Interactive Genomics Data VisualizationSehi L'Yi, Qianwen Wang, Fritz Lekschas, Nils GehlenborgIEEE VIS 2021 · 73 citations
- B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
- 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
- Collecting and Characterizing Natural Language Utterances for Specifying Data VisualizationsArjun Srinivasan, Nikhila Nyapathy, Bongshin Lee, Steven Mark Drucker et al.CHI 2021 · 55 citations
- FeVisQA: Free-Form Question Answering over Data VisualizationsYuanfeng Song, Jinwei Lu, Yuanwei Song, Caleb Chen Cao et al.ICDE 2025 · 2 citations
- Integrated Visualization Editing via Parameterized Declarative TemplatesAndrew M. McNutt, Ravi ChughCHI 2021 · 39 citations
- IGScript: An Interaction Grammar for Scientific Data PresentationRichen Liu, Min Gao, Shunlong Ye, Jiang ZhangCHI 2021 · 15 citations
- A Framework for Multiclass Contour VisualizationSihang Li, Jiacheng Yu, Mingxuan Li, Le Liu et al.IEEE VIS 2022 · 4 citations
