JSM 2015 Preliminary Program

Online Program Home
My Program

Abstract Details

Activity Number: 158
Type: Invited
Date/Time: Monday, August 10, 2015 : 10:30 AM to 12:20 PM
Sponsor: Section on Statistical Graphics
Abstract #314184 View Presentation
Title: Animint: Interactive Web-Based Animations Using Ggplot2's Grammar of Graphics
Author(s): Susan Ruth VanderPlas* and Carson Sievert and Toby Hocking
Companies: Iowa State University and Iowa State University and McGill University
Keywords: graphics ; animation ; interactivity ; R ; ggplot2 ; d3

Animint is a high-level modification of the grammar of graphics used in ggplot2 for linked, interactive, animated plots. It builds on top of ggplot2 to create interactive visualizations using web standards (D3 in JavaScript). In other data visualization systems, interactive animations are difficult to accomplish, since they must be defined in terms of low-level operations and sometimes 100s of lines of code. In contrast, Animint's high-level grammar can be used to produce a wide variety of complex interactive visualizations with only 10s of lines of code. It works by adding 2 new aesthetics to the grammar of graphics used in ggplot2: clickSelects, which allows users to select elements of the plot, and showSelected, which displays only elements corresponding to the current selection. After creating the interactive animation in R code, it is compiled and rendered in a web browser using D3. We discuss the design of Animint, then compare to related libraries, and show several example visualizations of high-dimensional time series data.

Authors who are presenting talks have a * after their name.

Back to the full JSM 2015 program

For program information, contact the JSM Registration Department or phone (888) 231-3473.

For Professional Development information, contact the Education Department.

The views expressed here are those of the individual authors and not necessarily those of the JSM sponsors, their officers, or their staff.

2015 JSM Online Program Home