function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Ankylopteryx', 21], ['Apertochrysa', 581], ['Austrochrysa', 52], ['Borniochrysa', 46], ['Ceraeochrysa', 39], ['Chrysopa', 57], ['Chrysoperla', 210], ['Chrysopodes', 1136], ['Cunctochrysa', 23], ['Dichochrysa', 26], ['Dyspetochrysa', 246], ['Pantaleonius', 314], ['Pseudomallada', 47], ['Titanochrysa', 21], ['Tribochrysa', 244], ['Other (16)', 58] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=3121)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);