Connecting R with D3 for dynamic graphics, to explore multivariate data with tours

Abstract:

The tourr package in R has several algorithms and displays for showing multivariate data as a sequence of low-dimensional projections. It can display as a movie but has no capacity for interaction, such as stop/go, change tour type, drop/add variables. The tourrGui package provides these sorts of controls, but the interface is programmed with the dated RGtk2 package. This work explores using custom messages to pass data from R to D3 for viewing, using the Shiny framework. This is an approach that can be generally used for creating all sorts of interactive graphics.

Cite PDF Tweet

Authors

Affiliations

Michael Kipp

 

Ursula Laa

 

Dianne Cook

 

Published

July 29, 2019

Received

Apr 4, 2018

DOI

10.32614/RJ-2019-002

Volume

Pages

11/1

245 - 249

CRAN packages used

tourr, tourrGui, RGtk2

CRAN Task Views implied by cited packages

Graphics

Footnotes

    Reuse

    Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

    Citation

    For attribution, please cite this work as

    Kipp, et al., "The R Journal: Connecting R with D3 for dynamic graphics, to explore multivariate data with tours", The R Journal, 2019

    BibTeX citation

    @article{RJ-2019-002,
      author = {Kipp, Michael and Laa, Ursula and Cook, Dianne},
      title = {The R Journal: Connecting R with D3 for dynamic graphics, to explore multivariate data with tours},
      journal = {The R Journal},
      year = {2019},
      note = {https://doi.org/10.32614/RJ-2019-002},
      doi = {10.32614/RJ-2019-002},
      volume = {11},
      issue = {1},
      issn = {2073-4859},
      pages = {245-249}
    }