You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scatterD3 is an HTML R widget for interactive scatter plots visualization.
It is based on the htmlwidgets R package and on
the d3.js javascript library.
Features
Here is a small preview of what you will get :
The visual guide gives a list of features and examples.
Installation
Install from CRAN :
install.packages("scatterD3")
Or from Github for the latest development version :
remotes::install_github("juba/scatterD3")
Usage
Quick example of the scatterD3 function based on the mtcars dataset :
See the visual guide for a step-by-step guide and details about the different function arguments.
scatterD3 provides a built-in SVG export of the current widget view. As an HTML widget, you can also include it in an Rmarkdown HTML document while keeping its interactive features.
Shiny integration
Like every R HTML widget, shiny integration is straightforward. But as a D3
widget, scatterD3 is updatable : changes in settings or data can be
displayed via smooth transitions instead of a complete chart redraw, which can
provide interesting visual clues.
Furthermore, scatterD3 provides some additional handlers and callback hooks
for a more complete JavaScript interactivity and integration.