lleiou / plotly-shiny

Templates for embedding interactive plotly graphs in Shiny apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:R 53.0%Language:JavaScript 47.0%