Extending ggplot2 for Linked and Animated Web Graphics

Carson Sievert, Susan VanderPlas, Jun Cai, Kevin Ferris, Faizan Uddin Fahad Khan, Toby Dylan Hocking

Research output: Contribution to journalArticlepeer-review

3 Scopus citations

Abstract

Interactive web graphics are great for communication and knowledge sharing, but are difficult to leverage during the exploratory phase of a data science workflow. Even before the web, interactive graphics helped data analysts quickly gather insight from data, discover the unexpected, and develop better model diagnostics. Although web technologies make interactive graphics more accessible, they are not designed to fit inside an exploratory data analysis (EDA) workflow where rapid iteration between data manipulation, modeling, and visualization must occur. To better facilitate exploratory web graphics that are easily distributed, we need better interfaces between statistical computing environments (e.g., the R language) and client-side web technologies. We propose the R package animint for rapid creation of linked and animated web graphics through a simple extension of ggplot2’s implementation of the Grammar of Graphics. The extension allows one to write ggplot2 code and produce a standalone web page with multiple linked views. Supplementary material for this article is available online.

Original languageEnglish (US)
Pages (from-to)299-308
Number of pages10
JournalJournal of Computational and Graphical Statistics
Volume28
Issue number2
DOIs
StatePublished - Apr 3 2019
Externally publishedYes

Keywords

  • Animation
  • Exploratory data analysis
  • Grammar of graphics
  • Multiple linked views
  • Statistical graphics
  • Web technologies

ASJC Scopus subject areas

  • Discrete Mathematics and Combinatorics
  • Statistics and Probability
  • Statistics, Probability and Uncertainty

Fingerprint

Dive into the research topics of 'Extending ggplot2 for Linked and Animated Web Graphics'. Together they form a unique fingerprint.

Cite this