ggiraph v0.3.2

0

Monthly downloads

0th

Percentile

by David Gohel

Make 'ggplot2' Graphics Interactive

Create interactive 'ggplot2' graphics using 'htmlwidgets'.

Readme

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

Functions in ggiraph

Name Description
geom_boxplot_interactive interactive boxplot
geom_path_interactive interactive observations connections
drawDetails.interactive_text_grob interactive_text_grob drawing
geom_map_interactive interactive polygons from a reference map.
drawDetails.interactive_rect_grob interactive_rect_grob drawing
drawDetails.interactive_polyline_grob interactive_polyline_grob drawing
drawDetails.interactive_points_grob interactive_points_grob drawing
geom_bar_interactive interactive bars
drawDetails.interactive_polygon_grob interactive_polygon_grob drawing
drawDetails.interactive_segments_grob interactive_segments_grob drawing
ggiraph ggiraph
geom_point_interactive interactive points
geom_polygon_interactive interactive polygons
interactive_points_grob Generate interactive grob points
interactive_polygon_grob Generate interactive grob polygons
geom_text_interactive interactive textual annotations.
geom_rect_interactive interactive rectangles
ggiraphOutput Create a ggiraph output element
geom_segment_interactive Line interactive segments
interactive_polyline_grob Generate an Interactive Grob Path
interactive_text_grob Generate interactive grob text
interactive_rect_grob Generate interactive grob rectangles
renderggiraph Reactive version of ggiraph object
interactive_segments_grob Generate interactive grob segments
No Results!

Last month downloads

Details

Type Package
License GPL-3
Copyright See file COPYRIGHTS.
VignetteBuilder knitr
URL https://davidgohel.github.io/ggiraph
BugReports https://github.com/davidgohel/ggiraph/issues
RoxygenNote 5.0.1.9000
NeedsCompilation no
Packaged 2016-11-04 15:22:03 UTC; davidgohel
Repository CRAN
Date/Publication 2016-11-04 22:27:22

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/ggiraph)](http://www.rdocumentation.org/packages/ggiraph)