function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Attemsostreptus', 170], ['Brevitibius', 9], ['Doratogonus', 9], ['Exallostreptus', 17], ['Guaporeptus', 32], ['Isoporostreptus', 6], ['Lophostreptus', 200], ['Obelostreptus', 280], ['Odontostreptus', 23], ['Orthoporus', 8], ['Pseudotibiozus', 788], ['Sechelleptus', 20], ['Spirostreptus', 19], ['Tropostreptus', 350], ['Udzungwastreptus', 50], ['Other (13)', 31] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=2012)', 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);