function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['barrakporensis', 33], ['calculosa', 14], ['dendrophila', 8], ['doliolum', 19], ['eurytrochus', 1], ['microconus', 50], ['microsoma', 1], ['phacomorpha', 1], ['punctata', 7], ['scandens', 96], ['sublaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=231)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);