Fentanyl-Related Drug Overdoses, Ohio, 2012-2015
October 31, 2016
google.charts.load('current', {packages: ['corechart', 'bar']}); google.charts.setOnLoadCallback(drawBasic);
function drawBasic() {
var data = google.visualization.arrayToDataTable([ ['Year', 'Accidental Deaths', { role: 'style' }], ['2015', 1155, '#F22613' ], ['2014', 503,'#F9690E' ], ['2013', 84,'#F5AB35' ], ['2012', 75, '#E9D460'] ]);
var options = { title: 'Fentanyl-Related Drug Overdoses, Ohio, 2012-2015', chartArea: {width: '60%'}, hAxis: { title: 'Total Accidental Death', minValue: 0 }, vAxis: { title: 'Year' }
};
var chart = new google.visualization.BarChart(document.getElementById('chart_div'));
chart.draw(data, options); }