function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['buntonorum', 74], ['cooloola', 118], ['coorongooba', 11], ['heraldense', 6], ['howense', 41], ['milledgei', 19], ['pyramidum', 1], ['sclerophylla', 24] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=294)', 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);