function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 4], ['Combretaceae', 238], ['Crypteroniaceae', 2], ['Lythraceae', 150], ['Melastomataceae', 26494], ['Myrtaceae', 5417], ['Onagraceae', 213], ['Penaeaceae', 1], ['Rhynchocalycaceae', 1], ['Vochysiaceae', 61] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=32581)', 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);