论文标题
动画Vega-Lite:用互动图形的语法统一动画
Animated Vega-Lite: Unifying Animation with a Grammar of Interactive Graphics
论文作者
论文摘要
我们提出了动画的Vega-Lite,这是Vega-Lite的一组扩展,将动画可视化模型作为随时间变化的数据查询进行建模。与指定动画可视化的替代方法相反,该方法获得了高度表现力的设计空间,即Vega-Lite的动画效果将动画与该语言现有的静态和交互式可视化的现有抽象统一,以使作者能够在这些模态之间顺畅地移动或结合这些方式。因此,为了用静态可视化组成动画,我们将时间表示为编码通道。时间编码将数据字段映射到动画键框,为动画提供了轻巧的规范,而无需交互。为了构成动画和互动,我们还表示时间流。现在,提供动态数据查询的Vega-Lite选择现在不仅由输入事件,而且由计时器tick驱动。我们通过一个不同的例子来评估方法的表现力,这些示例表明了对互动和动画的分类法的报道。我们还通过采访了五个现有动画语法的专家开发人员,对我们贡献的概念负担和局限性进行了批判性的反思。这些思考突出了野外示例的关键动机作用,并确定了三个中心折衷方案:语言设计过程,支持的动画过渡的类型以及系统如何模拟关键框架。
We present Animated Vega-Lite, a set of extensions to Vega-Lite that model animated visualizations as time-varying data queries. In contrast to alternate approaches for specifying animated visualizations, which prize a highly expressive design space, Animated Vega-Lite prioritizes unifying animation with the language's existing abstractions for static and interactive visualizations to enable authors to smoothly move between or combine these modalities. Thus, to compose animation with static visualizations, we represent time as an encoding channel. Time encodings map a data field to animation keyframes, providing a lightweight specification for animations without interaction. To compose animation and interaction, we also represent time as an event stream; Vega-Lite selections, which provide dynamic data queries, are now driven not only by input events but by timer ticks as well. We evaluate the expressiveness of our approach through a gallery of diverse examples that demonstrate coverage over taxonomies of both interaction and animation. We also critically reflect on the conceptual affordances and limitations of our contribution by interviewing five expert developers of existing animation grammars. These reflections highlight the key motivating role of in-the-wild examples, and identify three central tradeoffs: the language design process, the types of animated transitions supported, and how the systems model keyframes.