function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['albida', 86], ['annapurna', 3], ['castaneae', 21], ['cinnamomea', 4], ['dushman', 3], ['fusca', 6], ['gummata', 5], ['minima', 4], ['parvipuncta', 306], ['purpureus', 5], ['roborowskii', 4], ['saccharum', 4], ['terebrifer', 5], ['turkmenbashi', 11], ['valikhanovi', 55], ['Other (19)', 37] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=559)', 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);