function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 6], ['Actinidiaceae', 3], ['Balsaminaceae', 211], ['Diapensiaceae', 3], ['Ebenaceae', 23931], ['Ericaceae', 16117], ['Lecythidaceae', 22], ['Pentaphylacaceae', 12], ['Polemoniaceae', 110], ['Primulaceae', 1455], ['Sapotaceae', 594], ['Sarraceniaceae', 12], ['Styracaceae', 55], ['Symplocaceae', 23], ['Theaceae', 918], ['Other (6)', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=43474)', 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);