Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.24 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.24 KB

embedding plotly graphs in shiny apps

These examples update Plotly graphs client-side through Plotly's Embed-API

Movies - Plotly Simple histogram example adapted from Hello Shiny (http://glimmer.rstudio.com/shiny/01_hello/) using "Movies" data and only Plotly syntax

UN_Simple - Plotly with ggplot2 A simplified version of a line graph project by @Huade.

UN_Advance - Plotly with ggplot2 GIF of a Plotly graph in a Shiny App that graphs UN data A fancier version of a line-graph project by @Huade

Diamonds - Plotly with ggplot2 ggplot2 example using the diamonds data (built into ggplot2) adapted from: https://gist.github.com/jcheng5/3239667 to work with Plotly.

usage

each folder contains a separate app. From inside any of the folders, run

library(shiny)
runApp()

or open runApp.R from the folder and select Run App in the top right corner.

<iframe src="https://chelsea.shinyapps.io/SimpleTest/" style="border: none; width: 800px; height: 700px"></iframe>