HackerPapers

arXiv:2207.07998cs.HC

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

Andrew McNutt

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

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.

arXiv comments
13 Pages, 11 Figures, including appendix. Accepted to IEEEVIS22
Journal reference
DOI
Subjects
cs.HCHuman-Computer Interaction

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jul 2023 to Jul 2023. Found in 1 HN submission from Sep 2022 to Sep 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • Tangential: No Grammar to Rule Them All: A Survey of JSON-style DSLs for Visualization https://arxiv.org/abs/2207.07998 Both Vega and Echarts are covered, among others.

      nsajkoView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.