function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['aurulenta', 8], ['barmanica', 168], ['batesi', 2], ['duponti', 203], ['horii', 2], ['indica', 17], ['juxtata', 49], ['separata', 4], ['velata', 2], ['virgula', 105] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=561)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);