Crosstalk is a package for R that enhances the htmlwidgets package. It extends htmlwidgets with a set of classes, functions, and conventions for implementing cross-widget interactions (currently, linked brushing and filtering).
Find out more at the documentation website: http://rstudio.github.io/crosstalk/
inst/www/js/. Anytime you make changes to
To set up your repo for building the minified JS:
nvm install; this will install the version of Node.js we need.
nvm useto switch to our version of Node.js.
npm installto install all Node.js dependencies.
To actually build the minified JS:
nvm use(only needed once per terminal session).
node node_modules/.bin/grunt(or if you have installed
grunt-cliglobally, you can just run
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.