function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['bavayi', 1], ['cancellus', 58], ['cassiculus', 3], ['comptulus', 2], ['horridus', 13], ['hoskynsi', 2], ['kantori', 1], ['kapalae', 93], ['powelli', 6], ['reticulatus', 5] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=184)', 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);