I'm currently a beginner in Plotly and have a problem I can't seem to solve. I have my plotly stacked bar chart but I don't know how to color each individual category. I am currently using R.
This is my current stacked bar chart:
My current code is:
p = plot_ly(x, x = day, y = count, type = "bar", group = status) %>% layout(barmode = "stack", showlegend = T)
I've tried using the "color = "
parameter and also markers, but nothing correctly colors my graph.