function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 9], ['Agonostomus', 1], ['Chelon', 16], ['Crenimugil', 2], ['Dajaus', 1], ['Ellochelon', 1], ['Joturus', 1], ['Liza', 12], ['Moolgarda', 10], ['Mugil', 20], ['Myxus', 1], ['Oedalechilus', 1], ['Osteomugil', 12], ['Planiliza', 99], ['Valamugil', 5] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=191)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);