function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['brachycarpa', 1], ['cakiloidea', 1], ['cinerea', 0], ['clavata', 185], ['griffithiana', 1], ['pergandii', 19], ['proteus', 80], ['rostrata', 1], ['ziziphi', 20] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=308)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);