I’m trying to create a dashboard using shiny R. this is my ui.R and server.R files
Ui.R
library(shiny)
library(shinydashboard)
shinyUI(
dashboardPage(
dashboardHeader(title="Edureka"),
dashboardSidebar(
menuItem("sales Dashboard"),
menuSubItem("DevOps"),
menuSubItem("Blockchain"),
menuSubItem("AWS"),
menuItem("Finance Dashboard")),
dashboardBody(
fluidRow(
box(plotOutput("$histogram"))
)
)
)
)
Server.R
library(shiny)
library(shinydashboard)
shinyServer(function(input,output){
output$histogram <- renderPlot({
hist(faithful$eruptions)
})
})
When I run the app I don’t see a histogram even though I’ve created one. And also I don’t see any errors.