function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Agrostia', 151], ['Brizoides', 8], ['Hypocyrtus', 4], ['Isagoras', 46], ['Malacomorpha', 787], ['Nanhuaphasma', 3], ['Olcyphides', 4], ['Paragrostia', 109], ['Paranisomorpha', 3], ['Paraphasma', 363], ['Parastratocles', 12], ['Periphloea', 5], ['Prexaspes', 347], ['Pseudophasma', 16], ['Rhynchacris', 4], ['Other (26)', 28] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=1890)', 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);