Vega-Lite: A Grammar of Interactive Graphics

Vega-Lite: A Grammar of Interactive Graphics
复制标题

DOI:
10.1109/tvcg.2016.2599030
复制
发表时间:
2017-01-01
影响因子:
5.2
通讯作者:
Heer, Jeffrey
Heer, Jeffrey
中科院分区:
计算机科学1区
文献类型:
--
作者:
Satyanarayan, Arvind;Moritz, Dominik;Heer, Jeffrey

文献摘要

被引文献

相似文献

我们提出了Vega-Lite,这是一种高级语法,可以快速规范交互式数据可视化。Vega-Lite结合了传统的图形语法,为分层和多视图显示提供了视觉编码规则和合成代数,以及一种新的交互语法。用户通过编写选择来指定交互语义。在Vega-Lite中,选择是定义输入事件处理、兴趣点和用于包含测试的谓词函数的抽象。选择通过作为输入数据、定义比例范围或通过驱动条件逻辑来参数化视觉编码。Vega-Lite编译器自动合成必要的数据流和事件处理逻辑,用户可以覆盖这些逻辑以进行进一步的定制。与现有的反应式规范不同,Vega-Lite选择将交互设计分解为简洁的、可列举的语义单元。我们通过一系列示例对Vega-Lite进行评估,演示了定制交互方法和常见技术(如平移、缩放和链接选择)的简明规范。
We present Vega-Lite, a high-level grammar that enables rapid specification of interactive data visualizations. Vega-Lite combines a traditional grammar of graphics, providing visual encoding rules and a composition algebra for layered and multi-view displays, with a novel grammar of interaction. Users specify interactive semantics by composing selections. In Vega-Lite, a selection is an abstraction that defines input event processing, points of interest, and a predicate function for inclusion testing. Selections parameterize visual encodings by serving as input data, defining scale extents, or by driving conditional logic. The Vega-Lite compiler automatically synthesizes requisite data flow and event handling logic, which users can override for further customization. In contrast to existing reactive specifications, Vega-Lite selections decompose an interaction design into concise, enumerable semantic units. We evaluate Vega-Lite through a range of examples, demonstrating succinct specification of both customized interaction methods and common techniques such as panning, zooming, and linked selection.