function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['accentifera', 2], ['amoena', 58], ['atrata', 318], ['doilu', 24], ['hahni', 29], ['huapi', 49], ['hyadesi', 18], ['ingens', 11], ['ornata', 113], ['pizarroi', 51], ['puconensis', 3], ['robinson', 128], ['robusta', 7], ['tripunctata', 36], ['viernes', 14] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=861)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);