Here's some example data:
Best running time on 1000 ft depending on age:
| 7 yrs | 8 yrs | 9 yrs | ...
--------------------------------------------
time, seconds | 100 | 80 | 70 |
Use 'timeofday'
column type for y-axis
From the docs --> Working with Timeofday
See following working snippet...
google.charts.load('current', {
callback: drawChart,
packages:['corechart']
});
function drawChart() {
var data = google.visualization.arrayToDataTable([
['timeofday', '7 yrs', '8 yrs', '9 yrs'],
['s', [0, 1, 40], [0, 1, 20], [0, 1, 10]]
]);
var container = document.getElementById('chart_div');
var chart = new google.visualization.ScatterChart(container);
chart.draw(data, {
orientation: 'vertical'
});
}
<script src="https://www.gstatic.com/charts/loader.js"></script>
<div id="chart_div"></div>