Interactive visual analysis interfaces are critical in nearly every data task. Yet creating new interfaces is deeply challenging, as it requires the developer to understand the queries needed to express the desired analysis task, design the appropriate interface to express those queries for the task, and implement the interface using a combination of visualization, browser, server, and database technologies. Although prior work generates a set of interactive widgets that can express an input query log, this paper presents PI2, the first system to generate fully functional visual analysis interfaces from an example sequence of analysis queries. PI2 analyzes queries syntactically, and represents a set of queries using a novel Difftree structure that encodes systematic variations between query abstract syntax trees. PI2 then maps each Difftree to a visualization that renders its results, the variations in each Difftree to interactions, and generates a good layout for the interface. We show that PI2 can express data-oriented interactions in existing visualization interaction taxonomies, can reproduce or improve several real-world visual analysis interfaces, generates interfaces in 2-19s (median 6s), and scales linearly with the number of queries.
翻译:交互式视觉分析界面在几乎每一个数据任务中都至关重要。 然而,创建新界面是极具挑战性的,因为它要求开发者理解为表达所需的分析任务所需的查询,设计适当的接口以表达任务所需的查询,并利用视觉化、浏览器、服务器和数据库技术的组合来实施接口。虽然先前的工作产生了一组互动部件,可以表达输入查询日志,但本文展示了PI2,这是第一个从分析查询的示例序列中生成完全功能性视觉分析界面的系统系统系统系统系统化的系统系统化的系统化的系统化查询。 PI2 分析询问, 并代表一套使用新颖的 Difftree 结构来编码查询抽象语系树之间的系统变异的查询。 PI2 然后绘制每个 Difftree 的地图, 使其产生结果, 每个 Difftree 中的变异到互动, 并为界面生成一个良好的布局。 我们显示 PI2 可以表达现有可视化互动分类中的面向数据的互动, 可以复制或改进几个真实世界的视觉分析界面, 生成了2-19, 和直线形化的接口。