function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['amapa', 10], ['araona', 118], ['danielae', 3], ['hamadae', 7], ['ika', 26], ['mayna', 34], ['picunche', 76], ['santosi', 15], ['thunbergae', 14], ['tunebo', 39] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=342)', 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);