function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['andrassyi', 9], ['attenuatus', 14], ['belondirelloides', 21], ['chakpilus', 13], ['cylindricaudatus', 4], ['deviatus', 1], ['discocephalus', 3], ['hanifae', 1], ['karnatakensis', 4], ['kasplateauensis', 9], ['khasianus', 1], ['parindicus', 1], ['parvulus', 1], ['shamimi', 1], ['tropicus', 14] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=97)', 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);