Create interactive plots R-plots on website

interactive, php, r, web

Solution

There are two ways of doing this. You could either use an direct method or an indirect method. For the indirect method you generate the javascript in your R script and pas it on to PHP (which is a lot of work but gives really nice graphs):

direct method

- Knitr - compatible with R-studio

- GridSVG

- Shiny - compatible with R-studio

Indirect

- Highcharts

- D3.js

- Rickshaw

Personally I'm most excited about epivizr which makes use of D3.js

Problem

Last year I was working on a project concerning the creation of R-graphics. I remember that, during my research then, I came across something to visualize interactive R-graphics on a webpage. Unfortunately, I don't remember the name. Does anyone know a good package/... to achieve this? I would like to get data from a database, use this data to generate a plot using R, and then visualize the plot on a webpage.

Original source