still pretty new to R and plotly, so please forgive me in case this is an obvious issue:
To me it seems like plotly does not display pie charts from R with only one value?
plot_ly(type="pie", labels= c("a","b"), values=c(1,2))
This seems to works fine!
plot_ly(type="pie", labels= c("a"), values=c(1))
However with only one value, plotly is not rendering anything, i.e. not showing the 100% pie chart it is supposed to be.
I am trying to embed plotly into my R Shiny web deshboard and I am thankful for any advice