I have a scenario where I’d like to load multiple traces of data into a scatter plot; each trace represents 1 year. I’d only like to display the 4 most recent years on the plot, and have the rest be deselected on the legend and have them available for the user to click on. Is that possible? I don’t see anything in the legend docs that supports this.
Here’s how: http://codepen.io/etpinard/pen/JRNgqZ
A million thank yous!