Learning Objectives
Following this assignment students should be able to:
- Be aware of the different interactive options available through R
- Use
plotly
to make an interactive graphic
Reading
-
Check out what shiny is capable of at the Shiny website
-
Leaflet is an easy way to display your spatial data in an interactive web map, learn more about the leaflet package for R
-
Plotly allows for interactive graphics out of the box and is faster to set up and get going than shiny is. There is an rplotly package for R
-
Visiting Speaker: Robbie Richards (Ezenwa/Drake Lab)
Lecture Notes
Exercises
There are no assignments for this topic, but I would recommend you play around with using rplotly
to create an interactive plot (either of your own data, or using the chicks
dataset we used in the Data Viz week (hint:data(chicks)
). This cheatsheet and the above tutorial in plotly should be enough to get you started.
Here is the leaflet code that we went over for Waffle Houses in Athens in class.