function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['chrysurus', 6], ['insignis', 1], ['kahuziensis', 1], ['kivu', 0], ['lachaisei', 1], ['leucostomus', 1], ['lovati', 1], ['melanotis', 0], ['mesomelas', 1], ['messorius', 1], ['mystacalis', 0], ['nubicus', 2], ['nyasae', 1], ['nyikae', 1], ['oreas', 1], ['Other (2)', 0] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=18)', 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);