function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 6], ['Bixaceae', 40], ['Cistaceae', 384], ['Cochlospermaceae', 1], ['Cytinaceae', 4], ['Dipterocarpaceae', 65], ['Malvaceae', 4074], ['Muntingiaceae', 0], ['Rhopalocarpaceae', 1], ['Sarcolaenaceae', 241], ['Sphaerosepalaceae', 11], ['Thymelaeaceae', 1050] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=5877)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);