Developing data products - R Markdown Presentation & Plotly

Thet Paing Soe

July 17, 2019

R Markdown document

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

Shiny Server: Easy R Web Apps

Shiny is an open source R package that provides an elegant and powerful web framework for building web applications using R. Shiny helps you turn your analyses into interactive web applications without requiring HTML, CSS, or JavaScript knowledge. See http://shiny.rstudio.com/

Code

library(plotly)
plain_x <- c(1:75)
plain_y <- rnorm(75, mean = 0)
data <- data.frame(plain_x, plain_y )
p <- plot_ly(data, x = ~plain_x, y = ~plain_y , type = 'scatter', mode = 'lines')
p

Plot (PNG)