function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 188], ['Ceratophyllidae', 610], ['Ctenophthalmidae', 28], ['Hystrichopsyllidae', 30], ['Ischnopsyllidae', 29], ['Leptopsyllidae', 46], ['Malacopsyllidae', 3], ['Pulicidae', 74], ['Rhopalopsyllidae', 34], ['Saurophthiridae', 3], ['Stephanocircidae', 4], ['Tungidae', 12] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=1061)', 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);