function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['coarctatus', 72], ['minor', 50], ['modestus', 562], ['nimbatus', 12], ['pannuceus', 24], ['patagoniensis', 106], ['penicillus', 724], ['petilior', 41], ['picumnus', 36] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=1628)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);