function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Allocreadiidae', 17], ['Alloglossidiidae', 21], ['Apocreadiidae', 34], ['Azygiidae', 14], ['Bucephalidae', 20], ['Echinostomatidae', 16], ['Enenteridae', 22], ['Gorgocephalidae', 19], ['Gorgoderidae', 23], ['Heterophyidae', 22], ['Mesocoeliidae', 48], ['Opecoelidae', 94], ['Paragonimidae', 1173], ['Philophthalmidae', 17], ['Transversotrematidae', 19], ['Other (33)', 140] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=1699)', 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);