function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['angulata', 6], ['arenata', 7], ['armata', 12], ['barbipes', 73], ['bicornis', 44], ['cambridgei', 127], ['carcinoides', 30], ['fissifrons', 37], ['lata', 21], ['longimana', 20], ['monulfi', 22], ['nigra', 48], ['rufiventris', 9], ['similis', 7], ['squalida', 16], ['Other (8)', 19] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=498)', 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);