function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['banmethout', 1], ['banvaneue', 1], ['geberbauer', 1], ['renong', 2], ['songbae', 1], ['squamulata', 1], ['squamulatoides', 5], ['thungyai', 1], ['ventrosa', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=14)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);