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!