function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['angusticollis', 2], ['championi', 4], ['imitator', 5], ['olmeca', 2], ['smithi', 3], ['undefined-1', 1], ['undefined-2', 1], ['undefined-3', 1], ['undefined-5', 1], ['undefined-6', 1], ['undefined-8', 1], ['undefined-9', 1], ['undetermined', 4], ['vittata', 0] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=27)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);