htmlwidget to make 'ggplot' graphics interactive
R JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Latest commit 145be92 Jul 15, 2018
Permalink
Failed to load latest commit information.
R dplyr in suggests Jul 15, 2018
docs pkgdown [ci skip] Jul 15, 2018
examples dplyr in suggests Jul 15, 2018
inst add examples Jun 10, 2018
man dplyr in suggests Jul 15, 2018
vignettes add examples Jun 10, 2018
visualtests minor Jun 10, 2018
.Rbuildignore prepare cran submission Jul 15, 2018
.gitignore doc Mar 22, 2017
.travis.yml travis Jul 9, 2018
DESCRIPTION prepare cran submission Jul 15, 2018
NAMESPACE dplyr in suggests Jul 15, 2018
NEWS #102 Jun 10, 2018
README.Rmd minor Jun 9, 2018
README.md minors Dec 18, 2017
_pkgdown.yml pkgdown [ci skip] Jun 10, 2018
appveyor.yml appveyor Aug 2, 2015
cran-comments.md prepare cran submission Jul 15, 2018
ggiraph.Rproj rstudio settings Jun 20, 2017

README.md

ggiraph R package

Make ‘ggplot’ Graphics Interactive

Travis-CI Build Status Build status version cranlogs Active

Overview

ggiraph is an htmlwidget and a ggplot2 extension. It allows ggplot graphics to be animated.

Animation is made with ggplot geometries that can understand three arguments:

  • tooltip: column of dataset that contains tooltips to be displayed when mouse is over elements.
  • onclick: column of dataset that contains javascript function to be executed when elements are clicked.
  • data_id: column of dataset that contains id to be associated with elements.

If used within a shiny application, elements associated with an id (data_id) can be selected and manipulated on client and server sides.

Installation

Get development version on github
devtools::install_github('davidgohel/ggiraph')
Get CRAN version
install.packages("ggiraph")