function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Anthracotheriidae', 848], ['Bovidae', 35], ['Cainotheriidae', 5], ['Camelidae', 9], ['Cebochoeridae', 14], ['Cervidae', 60], ['Eomysticetidae', 5], ['Giraffidae', 45], ['Hippopotamidae', 5], ['Hoplitomerycidae', 92], ['Lagomerycidae', 31], ['Lophiomerycidae', 27], ['Suidae', 67], ['Tayassuidae', 195], ['Tragulidae', 66], ['Other (2)', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=1505)', 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);