function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['acmea', 4], ['anaplasis', 1], ['caldera', 4], ['carnarvona', 6], ['crescentina', 10], ['diamontona', 37], ['flinti', 2], ['fraserensis', 21], ['hugginsi', 5], ['hystricosa', 13], ['lovedayi', 2], ['naumanni', 2], ['nebo', 8], ['satana', 2], ['volsella', 3], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=124)', 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);