2024-11-06

Intro

This peer assessed assignment has two parts. First, you will create a Shiny application and deploy it on Rstudio’s servers. Second, you will use Slidify or Rstudio Presenter to prepare a reproducible pitch presentation about your application.

Big Five

Also known as Big Tech, it is the name given to the largest and the most dominant companies in the information technology industry of the US, including Apple, Microsoft, Amazon, Alphabet (Google), and Facebook.

This project shows you how their stock prices.

library(shiny)

# Define the UI
ui <- fluidPage(
  titlePanel("Basic Shiny App Example"),
  
  sidebarLayout(
    sidebarPanel(
      sliderInput("num", "Number of bins:", 
                  min = 1, max = 50, value = 30)
    ),
    
    mainPanel(
      plotOutput("histPlot")
    )
  )
)

# Define the server logic
server <- function(input, output) {
  output$histPlot <- renderPlot({
    hist(rnorm(500), breaks = input$num, col = 'skyblue', border = 'white')
  })
}

Links

Thanks for your time

Wish you all the best!