function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['bisetosus', 2], ['canariensis', 8], ['capillaricornis', 342], ['costaricensis', 1], ['cyprensis', 1], ['ibericus', 189], ['indicus', 6], ['pisidicus', 373], ['rougemonti', 6], ['simulans', 59], ['splendens', 98], ['wunderlei', 6] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=1091)', 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);