Hello
I am trying to replicate a gauge graph in R using plotly. When I run the code the graph does not appear, I do not know what seems to be the problem. Please help
library(plotly)
fig1 <- plot_ly(
domain = list(x = c(0, 0.45), y = c(0, 1)),
value = 270,
title = list(text = "Speed"),
type = "indicator",
mode = "gauge+number")
fig1 <- fig1 %>% layout(margin = list(l=20,r=30))