function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Acaridae', 44], ['Analgidae', 41], ['Freyanidae', 51], ['Gastronyssidae', 1522], ['Lemurnyssidae', 17], ['Listrophoridae', 227], ['Listropsoralgidae', 3], ['Pneumocoptidae', 11], ['Proctophyllodidae', 672], ['Psoroptidae', 126], ['Pterolichidae', 18], ['Pteronyssidae', 29], ['Pyroglyphidae', 13], ['Trouessartiidae', 140], ['Xolalgidae', 43], ['Other (3)', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=2959)', 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);