Upcoming SlideShare
×

# Interactive R Visualizations using Shiny and Clickme

3,400 views

Published on

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/bustats2014

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Hello!
Thanks for the presentation! I am interested in trying to use clickme with Shiny. I was wondering if you published some examples of this integration, so that I can realize if it is easy enough for me to repeat and use it.
Thanks!
Cheers,
Nelly

Are you sure you want to  Yes  No
Views
Total views
3,400
On SlideShare
0
From Embeds
0
Number of Embeds
57
Actions
Shares
0
48
1
Likes
2
Embeds 0
No embeds

No notes for slide

### Interactive R Visualizations using Shiny and Clickme

1. 1. Interactive R Visualizations using Shiny and Clickme Nacho Caballero
2. 2. Traditional plots are static
3. 3. Javascript visualizations are interactive
4. 4. Shiny transforms your data into an interactive app
5. 5. Clickme displays your data in an interactive plot
6. 6. data <- data.frame(x=c(1,2,3), y=c(4,5,6)) R input
7. 7. 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
8. 8. 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)
9. 9. 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)
10. 10. bit.ly/bustats2014