function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['cavernarum', 1], ['cavernicola', 2], ['dalmatina', 2], ['distosolenidia', 4], ['gracilis', 4], ['holsingeri', 4], ['nasuta', 2], ['paralleloseta', 1], ['similis', 4], ['subterranea', 5], ['vicenzaensis', 1] ]); 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);