interactive r visualizations using shiny and clickme
DESCRIPTION
A talk I gave at the Boston University Statistics Student Seminar on April 3rd 2014. The link with the source code I used in the demo is at bit.ly/bustats2014TRANSCRIPT
![Page 1: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/1.jpg)
Interactive R Visualizations using Shiny and ClickmeNacho Caballero
![Page 2: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/2.jpg)
Traditional plots are static
![Page 3: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/3.jpg)
Javascript visualizations are interactive
![Page 4: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/4.jpg)
Shiny transforms your data into an interactive app
![Page 5: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/5.jpg)
Clickme displays your data in an interactive plot
![Page 6: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/6.jpg)
data <- data.frame(x=c(1,2,3), y=c(4,5,6))
R input
![Page 7: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/7.jpg)
data <- data.frame(x=c(1,2,3), y=c(4,5,6))
R input
<script> var data = {{placeholder}}; interactive_plot(data); </script>
Clickme Template
![Page 8: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/8.jpg)
data <- data.frame(x=c(1,2,3), y=c(4,5,6))
R input
<script> var data = {{placeholder}}; interactive_plot(data); </script>
Clickme Template
clickme(template, data)
![Page 9: Interactive R Visualizations using Shiny and Clickme](https://reader034.vdocuments.site/reader034/viewer/2022042512/554dbc5db4c905c2488b4994/html5/thumbnails/9.jpg)
data <- data.frame(x=c(1,2,3), y=c(4,5,6))
R input
<script> var data = {{placeholder}}; interactive_plot(data); </script>
Clickme Template
<html> <script type="javascript"> var data = ["x": 1, "y": 4, "x": 2, "y": 5, "x": 3, "y": 6]; interactive_plot(data); </script> </html>
Interactive Visualization
clickme(template, data)