Interactive visual analysis interfaces are critical in nearly every data task. However, 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, reproduce or improve several real-world visual analysis interfaces, generate interfaces in 2-19s (median 6s), and scale linearly with the number of queries.
翻译:交互式视觉分析界面在几乎每一个数据任务中都至关重要。 但是,创建新界面是极具挑战性的,因为它要求开发者理解为表达所需的分析任务所需的查询,设计适当的接口以表达任务所需的查询,并利用视觉化、浏览器、服务器和数据库技术的组合来实施接口。 虽然先前的工作产生了一组互动部件,可以表达输入查询日志, 但本文展示了PI2, 这是第一个从分析查询的示例序列中生成完全功能性视觉分析接口的系统系统系统系统系统系统化的系统系统系统化的系统化查询。 PI2 分析询问, 并代表一套使用新颖的迪夫特里结构来编码查询抽象语树之间的系统变异的查询。 PI2 然后绘制每个迪夫特里的地图, 使其产生结果的可视化, 每个迪夫特里与互动的变异性, 并为界面生成一个良好的版图。 我们显示, PI2 可以在现有的可视化互动分类中表达面向数据的互动, 复制或改进几个真实世界的视觉分析界面, 生成2-19 的接口, 和直线形化的接口以2-19 。