function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Agraphydrus', 470], ['Amphiops', 484], ['Berosus', 1092], ['Cercyon', 5398], ['Coelostoma', 886], ['Dactylosternum', 1316], ['Globulosis', 626], ['Helochares', 2456], ['Laccobius', 1169], ['Novochares', 405], ['Oocyclus', 6132], ['Oosternum', 479], ['Pachysternum', 1927], ['Phaenostoma', 441], ['Tormus', 554], ['Other (62)', 3588] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=27423)', 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);