function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['anomalus', 7], ['ardis', 2], ['barrowi', 6], ['etsukoae', 5], ['moundi', 1], ['regina', 3], ['ritchiei', 1], ['sasacola', 72], ['websteri', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=100)', 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);