<head>
<!-- Plotly.js -->
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<div id="myDiv" style="width:100%;"></div>
var trace1 = {
x:['2020-10-04', '2021-11-04', '2023-12-04'],
y: [90, 40, 60],
type: 'scatter'
};
var data = [trace1];
var layout = {
title: 'Scroll and Zoom',
showlegend: false};
Plotly.newPlot('myDiv', data, layout, {scrollZoom: true});
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.