function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 11], ['Acanthaceae', 28341], ['Bignoniaceae', 1009], ['Calceolariaceae', 8], ['Gesneriaceae', 2336], ['Lamiaceae', 25387], ['Lentibulariaceae', 707], ['Linderniaceae', 1443], ['Oleaceae', 1940], ['Orobanchaceae', 454], ['Paulowniaceae', 43], ['Phrymaceae', 40], ['Plantaginaceae', 726], ['Scrophulariaceae', 2549], ['Verbenaceae', 522], ['Other (12)', 27] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=65543)', 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);