I have a few upcoming presentations as a part of job interviews. To prepare for these interviews, I'm attempting to make my figures a bit more interactive within my presentations. The aim is to be able to limit any large cumbersome tables I would need to include in my presentations and replace them with interactive plots that can look up values, zoom in, etc.
I initially explored both plot.ly and rCharts, but ended up using rCharts as I found I was more easily able to put it directly into my presentation. It may be possible with plot.ly but I did not want to put in the time to figure it out. I could only find a way to link to the website for the interactive version.
Using highcharts.js that is integrated into rCharts I was able to create the following interactive figure that explores the convergence rate of a portion of my dissertation.
library(rCharts) h1 <- hPlot(x = "GenSerCor", y = "percent", group = "FitSerCor", data = converge) h1$yAxis(title = list(text = "Convergence Rate"), min = 0, max = 100, tickInterval = 10) h1$xAxis(title = list(text = "Generated Serial Correlation Structure"), categories = c("Ind", "AR1", "MA1", "MA2", "ARMA")) h1$legend(verticalAlign = "top", align = "right", layout = "vertical", title = list(text = "Fitted SC")) h1$plotOptions(series = list(lineWidth = 4)) h1$print('chart1', include_assets = TRUE, cdn = TRUE)