function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Crocothemis', 61], ['Eleuthemis', 56], ['Erythemis', 1262], ['Erythrodiplax', 105], ['Lyriothemis', 40], ['Malgassophlebia', 764], ['Micrathyria', 64], ['Nannophya', 60], ['Neurothemis', 96], ['Orthetrum', 227], ['Pantala', 45], ['Sympetrum', 30], ['Trithemis', 55], ['Urothemis', 65], ['Zygonyx', 40], ['Other (49)', 282] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=3252)', 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);