Multiple line with same trace

I’m trying to create multiple line in Line chart with the same trace in Plotly.js, but couldn’t achieve the same.
Is it possible to create multiple line with same trace in Plotly??

Any help would be appreciated, thanks .