function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['Albatrellaceae', 6], ['Auriscalpiaceae', 2], ['Bondarzewiaceae', 6], ['Gloeodontiaceae', 2], ['Hericiaceae', 7], ['Lachnocladiaceae', 15], ['Peniophoraceae', 43], ['Russulaceae', 289], ['Stereaceae', 6] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=377)', 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);