How can I draw datapoints on boxplot with different color using plotly?

Viewed 1185

I was trying to draw a boxplot with all the points on it. I need to use multiple colors to show multiple dimensions.

  1. Three boxes with three colors (say, January, February, March in X axis)
  2. Some values in Y

  3. All the points in different (Say, different temperatures - 10 steps in 10) colors << This is the challenge I am confused with.

  4. In the legend only color-point should appear << Also this.

I could do it in ggplot. Tried to convert ggplot to plotly like this, qq <- ggplotly(gg). It does not work, legends just break.

Could you please drop some light on it? Thank you.

Sample graph done in ggplot

0 Answers
Related