function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Ameromyia', 469], ['Austrogymnocnemia', 2717], ['Crambomorphus', 140], ['Distoleon', 79], ['Dominikon', 162], ['Euroleon', 95], ['Fissuleon', 222], ['Glenoleon', 793], ['Megagonoleon', 1160], ['Myrmeleon', 219], ['Neuroleon', 62], ['Periclystus', 154], ['Purenleon', 950], ['Riekoleon', 252], ['Syngenes', 130], ['Other (58)', 679] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=8283)', 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);