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