function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 21], ['amoenus', 803], ['dubosti', 0], ['guianae', 0], ['marajoara', 4], ['minutus', 9], ['musseri', 7], ['paracou', 0], ['pictus', 0], ['spinosus', 7], ['tenuipes', 0], ['vargasllosai', 1], ['vossi', 4], ['xingu', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=859)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);