PlotlyJS: How to add another set of data to an existing plot?

Yes there is. For instance, let

p1 = linescatter1()

Then one can add a trace as follows:

addtraces(p1, scatter(;x = 1:6, y = rand(5:15, 6), mode="markers+lines"))
2 Likes