function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Chrysobalanaceae', 112], ['Clusiaceae', 618], ['Dichapetalaceae', 706], ['Erythroxylaceae', 175], ['Euphorbiaceae', 9480], ['Linaceae', 582], ['Malpighiaceae', 227], ['Ochnaceae', 1239], ['Passifloraceae', 1432], ['Peraceae', 96], ['Phyllanthaceae', 5333], ['Putranjivaceae', 67], ['Quiinaceae', 59], ['Salicaceae', 1757], ['Violaceae', 426], ['Other (19)', 143] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=22452)', 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);