function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Asaphomyces', 38], ['Cantharomyces', 73], ['Corethromyces', 37], ['Cryptandromyces', 38], ['Ecteinomyces', 86], ['Euphoriomyces', 60], ['Laboulbenia', 902], ['Monoicomyces', 113], ['Peyritschiella', 80], ['Rhachomyces', 119], ['Rhadinomyces', 38], ['Rhizomyces', 932], ['Rickia', 147], ['Siemaszkoa', 61], ['Stigmatomyces', 63], ['Other (38)', 325] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=3112)', 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);