Skip to content

Templates for embedding interactive plotly graphs in Shiny apps

Notifications You must be signed in to change notification settings

cldougl/plotly-shiny

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Templates for embedding interactive plotly graphs in Shiny apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 57.8%
  • JavaScript 42.2%