<head>
  <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<body>
  <div id="graph"></div>
</body>
Plotly.newPlot('graph', [{
  x: ['2018-12-13 13:03:00', '2018-12-13 13:04:00'],
  y: [1, 2]
}])

Plotly.addTraces('graph', [{
  x: ['2018-12-13 13:03:38'],
  y: ['30'],
  type: 'bar',
  hoverinfo: 'text',
  marker: {
    color: 'red',
  },
  base: 10,
  width: 100
}])
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.