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.
翻译:我们向 Vega-Lite 展示了“ 动动 Vega- Lite ” 的一组扩展, 该模型的动画直观化是用来进行时间变化的数据查询的模型。 与指定动画直观化的替代方法相比, 动画直观化也是一种高度直观的设计空间, 动画Vega- Lite 优先将动画与该语言现有的静态和互动直观化抽象化模型合并起来, 以使作者能够顺利地在这些模式之间移动或结合。 因此, 为了将动画和静视化直观化成一个编码频道。 时间编码将一个数据字段映射到动画关键框架, 为动画提供了轻量的规格。 为了制作动画和互动, 我们还代表时间流; 提供动态数据查询的 Vega- Lite 选择现在不仅受到输入事件的驱动, 而且还受到定时标杆的制约。 我们通过展示关于互动和动画和动动画两种模式的覆盖范围的各种例子来评估我们的方法的表达面。 我们还批判地思考我们贡献的理论和局限性和局限性, 通过采访现有动画图图绘制的五个专家开发者: 核心格式和中央格式 演示了关键设计过程。