function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 3], ['undefined-1', 11], ['undefined-2', 2], ['undefined-3', 1], ['undefined-4', 1], ['undefined-5', 2], ['undefined-6', 1], ['undefined-7', 1], ['undefined-8', 4], ['undefined-9', 1], ['undetermined', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=30)', 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);