function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Abrhexosa', 14], ['Aztecatopse', 164], ['Coboldia', 75], ['Colobostema', 190], ['Ectaetia', 683], ['Neorhegmoclemina', 8], ['Parascatopse', 24], ['Psacotes', 1303], ['Psectrosciara', 59], ['Quateiella', 749], ['Reichertella', 5], ['Rhegmoclemina', 3], ['Scatopse', 23], ['Swammerdamella', 1686], ['Thripomorpha', 17], ['Other (10)', 14] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=5017)', 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);