function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 3], ['Boletaceae', 121], ['Boletinellaceae', 11], ['Calostomataceae', 20], ['Coniophoraceae', 5], ['Diplocystidiaceae', 14], ['Dipterocarpaceae', 140], ['Gomphidiaceae', 8], ['Gyroporaceae', 4], ['Paxillaceae', 62], ['Rhizopogonaceae', 5], ['Sclerodermataceae', 25], ['Serpulaceae', 9], ['Suillaceae', 8] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=435)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);