function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['apotomella', 1], ['aurifusellus', 1], ['endopyrella', 1], ['fuscostrigella', 1], ['leucocinctus', 1], ['lucidicostella', 1], ['nigricostalis', 1], ['ochracealis', 1], ['paucigraphella', 1], ['purpureotincta', 1], ['roseistrigella', 1], ['sepicostella', 1], ['stictella', 1], ['subconcinnella', 2], ['variegatella', 2], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);