function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['aitkeni', 60], ['caissara', 470], ['dubia', 19], ['ecuadorensis', 31], ['falsispina', 54], ['guerreroi', 33], ['lamasi', 161], ['maai', 25], ['morena', 467], ['pantaneira', 333], ['traubi', 64] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=1717)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);