function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['aurella', 17], ['bleonella', 5], ['bupleurella', 48], ['coronillae', 21], ['headleyella', 17], ['immundella', 67], ['josefklimeschi', 14], ['melanoptera', 6], ['orientella', 8], ['ortneri', 27], ['rosmarinella', 59], ['saturejae', 52], ['stoechadella', 41], ['subnitidella', 6], ['teucriella', 7], ['Other (9)', 19] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=414)', 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);