function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['Boboceratex', 6], ['Bolbapium', 5], ['Bolbelasmus', 25], ['Bolboceras', 6], ['Ceratophyus', 138], ['Ceratotrupes', 70], ['Ceratrotupes', 3], ['Chelotrupes', 2], ['Geotrupes', 3], ['Lethrus', 3452], ['Odontotrypes', 40], ['Phelotrupes', 8], ['Thorectes', 139], ['Trypocopris', 2], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=3901)', 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);