⚠️There's a newer version (0.8.9) of this package. Take me there.

ggiraph R package

Make ‘ggplot’ Graphics Interactive

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")

Copy Link

Version

Down Chevron

Install

install.packages('ggiraph')

Monthly Downloads

13,937

Version

0.6.1

License

GPL-3

Maintainer

Last Published

April 9th, 2019

Functions in ggiraph (0.6.1)