Plotting 1-dimensional scatter line distribution

Hi,

I have a simple 1-D data array that I would like to represent to a thin 1-D scatter line, exactly like this one:

Any thoughts on how to achieve this with plotly.js ?

Thank you