function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['axinis', 2], ['bifurcata', 14], ['brevipennis', 8], ['brevis', 1], ['clavata', 3], ['guangxiensis', 1], ['heteracanthus', 1], ['inaculeata', 2], ['intermedia', 8], ['lobatus', 1], ['shii', 5] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=46)', 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);