function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['arcanus', 27], ['berlepschi', 99], ['fuscater', 101], ['hellmayri', 74], ['mentalis', 22], ['mexicanus', 12], ['mirabilis', 15], ['opertaneus', 28] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=378)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);