function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Australycra', 129], ['Brachypeplus', 720], ['Camptodes', 53], ['Caplothorax', 62], ['Carpophilus', 108], ['Coxollodes', 59], ['Cyclocaccus', 406], ['Cyclogethes', 40], ['Cyllopallodes', 112], ['Epuraea', 776], ['Gymnocychramus', 39], ['Meligethes', 195], ['Pocadius', 2227], ['Stelidota', 294], ['Thymogethes', 214], ['Other (43)', 485] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=5919)', 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);