app.R

library(shiny)
library(choropleth)

ui <- fluidPage(
  titlePanel("reactR HTMLWidget Example"),
  choroplethOutput('widgetOutput')
)

server <- function(input, output, session) {
  output$widgetOutput <- renderChoropleth(
    choropleth("Hello world!")
  )
}

shinyApp(ui, server)
AKostiv8/nivoR documentation built on May 15, 2023, 4:33 a.m.