function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['cretensis', 3], ['golemoensis', 34], ['gregoi', 17], ['istoka', 4], ['magdalenae', 6], ['marici', 4], ['melovskii', 10], ['muranyii', 19], ['navacellensis', 1], ['sitiensis', 5], ['temelkovi', 12] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=115)', 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);