function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['bicolor', 76], ['bruneti', 78], ['ferriferus', 10], ['guacharo', 25], ['hamatus', 5], ['juberthiei', 6], ['miranda', 20], ['novalima', 558], ['omnipraesens', 163], ['peruana', 5], ['striatus', 2], ['troglodita', 6] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=954)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);