JSFiddle - React, Tailwind, and code Playground
by kanonji
HTML
<script src="http://www.google.com/jsapi"></script>
<div id="visualization"></div>
JavaScript
google.load('visualization', '1', {
packages: ['corechart'],
callback: drawVisualization
});
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['Iter', 'Point', 'vel1', 'vel2'],
['1', 121, 120, 120],
['2', 111, 102.9, 96],
['3', 80, 85.8, 72],
['4', 76, 68.7, 48],
['5', 54, 51.6, 24],
['6', 26, 34.5, 0],
['7', 3, 17.4, 0],
['8', 0, 0, 0],
]);
// Create and draw the visualization.
var ac = new google.visualization.ComboChart(document.getElementById('visualization'));
ac.draw(data, {
title : 'Burn Down',
width: 600,
height: 400,
vAxis: {title: "Point"},
hAxis: {title: "Iter"},
seriesType: "line",
series: {0: {type: "bars"}}
});
}