Plotly - Line and Scatterplot (Plot|Chart)
About
Line and Scatterplot
Example
<div id='myDiv' style='width: 480px; height: 400px;'>
<!-- Plotly chart will be drawn inside this DIV -->
</div>
var trace1 = {
x: [1, 2, 3, 4],
y: [10, 15, 13, 17],
mode: 'markers'
};
var trace2 = {
x: [2, 3, 4, 5],
y: [16, 5, 11, 10],
mode: 'lines'
};
var trace3 = {
x: [1, 2, 3, 4],
y: [12, 9, 15, 12],
mode: 'lines+markers'
};
var data = [ trace1, trace2, trace3 ];
var layout = {
title:'Line and Scatter Plot',
height: 400,
width: 480
};
Plotly.newPlot('myDiv', data, layout);