function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['ernae', 1], ['incerta', 1], ['kobeltiana', 3], ['lamellata', 1], ['paestana', 3], ['pantocratoris', 2], ['splendens', 1], ['stigmatica', 4], ['vulcanica', 8] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);