<head>
  <!-- Plotly.js -->
  <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>

<body>
  
  <div id="myDiv"><!-- Plotly chart will be drawn inside this DIV --></div>
  <script>
    <!-- JAVASCRIPT CODE GOES HERE -->
  </script>
</body>
var data = [
  {
    x: [],
    y: []
  }
];

var layout = {
  yaxis: {
    showticklabels: false,
    zeroline: false,
    showgrid: false,
  },
  xaxis: {
    type: 'date',
    range: ['2013-10-04', '2013-12-05'],
    tickvals: ['2013-10-04 22:23:00', '2013-11-04 22:23:00', '2013-12-04 22:23:00'],
    ticktext: ['2013-10-04 22:23:00', '2013-11-04 22:23:00', '2013-12-04 22:23:00'],
    showline: false,
    showgrid: false,
    zeroline: false,
    showline: true
  }
};

Plotly.newPlot('myDiv', data,layout);
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.