Skip to content

HLindsay/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

Get development version on github
devtools::install_github('davidgohel/ggiraph')
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 79.9%
  • JavaScript 18.8%
  • CSS 1.3%