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.
翻译:使用基于JSON的语法和其他标准数据序列化语言创造可视化,这些语法都有了显著增长:有些侧重于特定的计算任务(如动画),有些涉及某些图表类型(如地图),有些涉及特定的数据领域(如地图)。尽管这种界面形式十分突出,但对这些语言特征的详细分析却很少。在这项研究中,我们调查并分析了57种用于可视化的JSON式DSL的设计和实施情况。我们对这些语言进行了分析,并收集了各DSL(由4395个实例组成的)一系列实例,这些实例涉及与域、概念模型、语言关系、经济条件和一般实用性有关的各类问题。我们查明了这些领域的紧张关系,如正式规格和科洛基里规格之间、各类用户之间以及语言构成之间的紧张关系。通过这项工作,我们寻求通过阐明可视化DSL设计的选择、机会和折中交易,支持语言实施者。