UW Interactive Data Lab
IDL logo

Declarative Language Design for Interactive Visualization

Jeffrey Heer, Michael Bostock. IEEE Trans. Visualization & Comp. Graphics (Proc. InfoVis), 2010
Figure for Declarative Language Design for Interactive Visualization
Protovis running on an Android phone. The image sequence shows a touch-initiated animated scale transition in a scatter plot.
Materials
PDF | Honorable Mention Award
Abstract
We investigate the design of declarative, domain-specific languages for constructing interactive visualizations. By separating specification from execution, declarative languages can simplify development, enable unobtrusive optimization, and support retargeting across platforms. We describe the design of the Protovis specification language and its implementation within an object-oriented, statically-typed programming language (Java). We demonstrate how to support rich visualizations without requiring a toolkit-specific data model and extend Protovis to enable declarative specification of animated transitions. To support cross-platform deployment, we introduce rendering and event-handling infrastructures decoupled from the runtime platform, letting designers retarget visualization specifications (e.g., from desktop to mobile phone) with reduced effort. We also explore optimizations such as runtime compilation of visualization specifications, parallelized execution, and hardware-accelerated rendering. We present benchmark studies measuring the performance gains provided by these optimizations and compare performance to existing Java-based visualization tools, demonstrating scalability improvements exceeding an order of magnitude.
BibTeX
@article{2010-protovis-design,
  title = {Declarative Language Design for Interactive Visualization},
  author = {Heer, Jeffrey AND Bostock, Michael},
  journal = {IEEE Trans. Visualization \& Comp. Graphics (Proc. InfoVis)},
  year = {2010},
  url = {https://uwdata.github.io/papers/protovis-design},
  doi = {10.1109/TVCG.2010.144}
}