Skip to content

jaimcamp/ggiraph

 
 

Repository files navigation

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 lets ggplot graphics being 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

github
# get development version
devtools::install_github('davidgohel/ggiraph')
cran
# get cran version
install.packages("ggiraph")

About

htmlwidget to make 'ggplot' graphics interactive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 91.5%
  • JavaScript 8.1%
  • CSS 0.4%