Turn off individual plot in JS

Is there a way to display a plot with some of the traces initially turned off?

Here’s how: https://codepen.io/etpinard/pen/MWgKNOm

1 Like

Thank you, the visible ‘legendonly’ option was just what I needed!