function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['abhorridus', 3], ['aculeus', 1], ['anfractus', 2], ['contus', 2], ['damingensis', 1], ['frondosus', 3], ['gutianensis', 4], ['hamus', 2], ['inaequalis', 1], ['mirus', 2], ['rougemonti', 4], ['tibialis', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=27)', 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);