function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['abyssalis', 3], ['atripectus', 41], ['caboverdensis', 13], ['catena', 77], ['gracilis', 7], ['guentheri', 18], ['lacrimatus', 3], ['longiceps', 8], ['melanocephalus', 49], ['mendax', 2], ['miles', 47], ['promelas', 16], ['solomonensis', 3], ['trichiurus', 9], ['turgidus', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=298)', 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);