function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['albus', 4], ['alis', 20], ['antidesmae', 16], ['assamensis', 17], ['crispator', 24], ['elegans', 32], ['falcus', 14], ['formosus', 2], ['guizhouensis', 15], ['indicu', 1], ['indicus', 6], ['priesneri', 6], ['trifasciatus', 9] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=166)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);