function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['acerata', 3], ['alcinoe', 3], ['bonasia', 2], ['caecilia', 10], ['encedana', 1], ['epaea', 4], ['macaria', 2], ['natalica', 4], ['pseudegina', 1], ['pudorella', 1], ['quirina', 4], ['rogersi', 2], ['serena', 17], ['umbra', 2], ['zetes', 8], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=65)', 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);