通过示例实现可视化
Visualization by Example
摘要:
虽然可视化在从数据中获得洞察力方面发挥着至关重要的作用,但从复杂的数据集生成有用的可视化远非一件容易的事情。除了理解现有可视化库提供的功能外,生成所需的可视化还需要重塑和聚合底层数据,以及组合不同的视觉元素以实现预期的视觉叙事。本文的目的是简化可视化任务,自动合成所需的程序,从简单的视觉草图由用户提供。具体来说,给定一个输入数据集和一个演示如何可视化该数据的一个非常小的子集的可视化草图,我们的技术自动生成一个程序,可以用来可视化整个数据集。自动化可视化带来了几个挑战。首先,由于许多可视化任务除了生成图之外还需要数据处理,因此我们需要将端到端合成任务分解为两个单独的子问题。其次,由于分解产生的中间规范必然是不精确的,这使得数据争论任务在我们的上下文中特别具有挑战性。在本文中,我们解决这些问题,通过开发一种新的组合可视化的例子技术,(a)分解成两个不同的合成问题,在不同的DSL和(b)利用双向程序分析,以处理复杂性,从有一个不精确的中间规范的端到端的任务。我们实现了我们的可视化的例子算法,并评估它的83可视化任务收集在线论坛和教程。Viser可以在600秒的时间限制内解决84%的基准测试,并且,对于可以解决的任务,Viser在70%的情况下生成的期望可视化是前5名之一。
英文摘要:
While visualizations play a crucial role in gaining insights from data, generating useful visualizations from a complex dataset is far from an easy task. Besides understanding the functionality provided by existing visualization libraries, generating the desired visualization also requires reshaping and aggregating the underlying data as well as composing different visual elements to achieve the intended visual narrative. This paper aims to simplify visualization tasks by automatically synthesizing the required program from simple visual sketches provided by the user. Specifically, given an input data set and a visual sketch that demonstrates how to visualize a very small subset of this data, our technique automatically generates a program that can be used to visualize the entire data set. Automating visualization poses several challenges. First, because many visualization tasks require data wrangling in addition to generating plots, we need to decompose the end-to-end synthesis task into two separate sub-problems. Second, because the intermediate specification that results from the decomposition is necessarily imprecise, this makes the data wrangling task particularly challenging in our context. In this paper, we address these problems by developing a new compositional visualization-by-example technique that (a) decomposes the end-to-end task into two different synthesis problems over different DSLs and (b) leverages bi-directional program analysis to deal with the complexity that arises from having an imprecise intermediate specification. We implemented our visualization-by-example algorithm and evaluate it on 83 visualization tasks collected from on-line forums and tutorials. Viser can solve 84% of these benchmarks within a 600 second time limit, and, for those tasks that can be solved, the desired visualization is among the top-5 generated by Viser in 70% of the cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。