function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Gamasellevans', 14], ['Gamasellus', 149], ['Gamasiphis', 179], ['Gamasiphoides', 45], ['Geogamasus', 65], ['Heterogamasus', 11], ['Heydeniella', 13], ['Hydrogamasellus', 40], ['Laelaptiella', 12], ['Neogamasellevans', 28], ['Ologamasus', 59], ['Rhodacaroides', 21], ['Rykellus', 15], ['Sessiluncus', 33], ['Stylochirus', 20], ['Other (23)', 100] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=804)', 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);