Using the plotly R package to create an interactive scatter plot (CC084)

Using the plotly R package to create an interactive scatter plot (CC084)

6.200 Lượt nghe
Using the plotly R package to create an interactive scatter plot (CC084)
Sarah Lucas joins Pat Schloss to give him a tutorial on how to use the plotly R package to add interactivity to a scatter plot he created using ggplot. plotly is tool that can convert ggplot2 generated figures into interactive HTML and JavaScript rendered document that users can interact with. Pat will use RStudio and functions from the ggplot2 package and other packages from the tidyverse. The accompanying blog post can be found at https://www.riffomonas.org/code_club/2021-03-26-plotly. Do you have a figure that you would like to receive a critique or help improving? Let me know and I'd be happy to arrange a guest appearance! If you're interested in taking an upcoming 3 day R workshop, email me at [email protected]! Plotly: https://plotly.com/r/ R: https://r-project.org RStudio: https://rstudio.com Raw data: https://github.com/riffomonas/raw_data/releases/latest Workshops: https://www.mothur.org/wiki/workshops You can also find complete tutorials for learning R with the tidyverse using... Microbial ecology data: https://www.riffomonas.org/minimalR/ General data: https://www.riffomonas.org/generalR/ 0:00 Introduction 3:57 Converting a ggplot figure to a plotly figure 8:31 Customizing tool tips 14:00 Saving interactive figure 15:52 Customizing the title 17:26 Creating a plotly figure from scratch 24:36 Conclusion