function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Astrothelium', 73262], ['Bathelium', 2], ['Constrictolumina', 2], ['Nigrovothelium', 2], ['Polymeridium', 5], ['Pseudobogoriella', 2], ['Pyrenula', 1], ['Thelotrema', 1], ['Tremotylium', 7], ['Trypethelium', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=73286)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);