function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['amphiaula', 1], ['boireaui', 9], ['burundiana', 4], ['coronata', 2], ['endroedyi', 2], ['gangraensis', 657], ['ghanensis', 11], ['magnifica', 12] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=698)', 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);