function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Acheron', 1], ['Ameropterus', 14], ['Ascalaphus', 57], ['Bubopsis', 17], ['Cordulecerus', 8], ['Deleproctophylla', 3], ['Disparomitus', 888], ['Dorsomitus', 18], ['Fillus', 1], ['Libelloides', 505], ['Nousera', 4], ['Ogcogaster', 10], ['Suhpalacsa', 3], ['Suphalomitus', 5], ['Ululodes', 2], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=1540)', 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);