R scatter plot htmlwidget based on D3.js
Here is a small preview of what you will get :
Install from CRAN :
Or from Github for the latest development version :
Quick example of the
scatterD3function based on the
See the visual guide for a step-by-step guide and details about the different function arguments.scatterD3provides 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.
Like every R HTML widget, shiny integration is straightforward. But as a D3 widget,scatterD3is updatable : changes in settings or data can be displayed via smooth transitions instead of a complete chart redraw, which can provide interesting visual clues.
The sample scatterD3 shiny app allows you to see the different features described here. You can check its source code on GitHub and the visual guide for a better understanding of the different arguments.
After cloning this repository, run the following in a terminal at the project root :npm install
If you want to ship a minimized production version, use :packer::bundle_prod()
This package has been made possible by :