function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['bidgelangensis', 1], ['calei', 1], ['coondinerensis', 1], ['cuensis', 1], ['cygnus', 1], ['dedeckkeri', 2], ['frumenta', 1], ['gnamma', 1], ['gwelupensis', 1], ['hirsuta', 1], ['ivanae', 1], ['koendersae', 2], ['regina', 2], ['tirigie', 4], ['triangulata', 2], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=32)', 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);