How can we add the tags to plot to the same layout

I’m using multiple drop-down selection options to select the tags to plot. Now I need to select 2 tags or more to plot in the same layout based on the drop down select. Please help me out.

Thank you in advance.

I have a hard time picturing what you’re going after. What do you mean by tags to plot? A screenshot or even better a codepen/jsFiddle of what you’ve tried so far would help. Thanks.

tags are the selection selected from the drop-down and I want to add the multiple selections in the drop-down to add up to the same plot layout. similar to this but I want to have multiple Y- axis

Ok. Looks like this is more a plain js question than a plotly.js one. I hope someone else in these forums can help you out.