function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Australoconops', 450], ['Callosiconops', 27], ['Chrysidiomyia', 34], ['Conops', 835], ['Hauserimyia', 24], ['Heteroconops', 62], ['Myopa', 41], ['Neoconops', 18], ['Physocephala', 252], ['Physoconops', 47], ['Pleurocerina', 148], ['Pleurocerinella', 38], ['Smartiomyia', 76], ['Stylogaster', 187], ['Thecophora', 30], ['Other (28)', 131] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=2400)', 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);