function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Arisubathynella', 9], ['Billibathynella', 13], ['Brevisomabathynella', 47], ['Chilibathynella', 32], ['Hexabathynella', 109], ['Iberobathynella', 35], ['Kimberleybathynella', 27], ['Mekongbathynella', 20], ['Nipponbathynella', 13], ['Notobathynella', 108], ['Octobathynella', 15], ['Paraeobathynella', 58], ['Racovitzaibathynella', 162], ['Siambathynella', 99], ['Texanobathynella', 15], ['Other (11)', 50] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=812)', 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);