An Example of a Google Bar Chart

by kashesandr

HTML

<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<div id="chart_div"></div>

CSS

#chart_div {
  background: white;
}

JavaScript

domEl = document.getElementById('chart_div');
var data = [{
  x: [1, 2, 3, 4, 5],
  y: [1, 2, 4, 8, 16]
}];
var options = {
  margin: { t: 0 }
};
Plotly.plot(domEl, data, options);