function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['apicodonta', 5], ['biniprocessa', 1], ['dilatirotunda', 1], ['flavalba', 11], ['improjecta', 21], ['lativalvula', 10], ['ledongensis', 5], ['longispina', 4], ['similativalvula', 13], ['subfalcativalva', 6] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=78)', 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);