function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['asensioi', 1], ['curviseta', 73], ['decipiens', 1], ['glutinosa', 2], ['longiceps', 47], ['lusitanica', 1], ['magna', 6], ['monstrosa', 5], ['paradoxa', 1], ['schwarzi', 1], ['tiflensis', 4] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=142)', 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);