function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['dushanensis', 8], ['graminicola', 22], ['itiokai', 3], ['jinshaensis', 3], ['minima', 10], ['murphyi', 11], ['nahangensis', 12], ['namdongensis', 3], ['phiadenensis', 2], ['phiaoacensis', 10], ['shangsiensis', 9], ['shiwandashanensis', 4], ['sungi', 3], ['ventripunctata', 2], ['wulingensis', 957], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=1061)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);