In R plotly, when you choose a "color", you have by default a legend on the right, and clicking on a particular level will make every points of that levels disappe