svgPanZoom: R 'Htmlwidget' to Add Pan and Zoom to Almost any R Graphic

This 'htmlwidget' provides pan and zoom interactivity to R graphics, including 'base', 'lattice', and 'ggplot2'. The interactivity is provided through the 'svg-pan-zoom.js' library. Various options to the widget can tailor the pan and zoom experience to nearly any user desire.

Getting started

Package details

AuthorAnders Riutta et. al. [aut, cph] (svg-pan-zoom.js BSD-licensed library in htmlwidgets/lib,, Jorik Tangelder [aut, cph] (hammer.js MIT-licensed touch library in htmlwidgets/lib,, Kent Russell [aut, cre] (R interface to svg-pan-zoom.js)
MaintainerKent Russell <[email protected]>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the svgPanZoom package in your browser

Any scripts or data that you put into this service are public.

svgPanZoom documentation built on May 29, 2017, 2:46 p.m.