# NOT RUN {
if (interactive() && require(dash)) {
library(dash)
library(dashHtmlComponents)
app <- Dash$new()
app$layout(
htmlDiv(list(
htmlLabel("Sample Level Meter: "),
htmlMeter(id = "sample-meter",
min = 0,
max = 100,
low = 33,
high = 66,
optimum = 80,
value = 80
)
))
)
app$run_server()
}
# }
Run the code above in your browser using DataLab