function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Brachystomellidae', 31], ['Hypogastruridae', 1407], ['Isotogastruridae', 14], ['Isotomidae', 1], ['Neanuridae', 712], ['Odontellidae', 48], ['Onychiuridae', 331], ['Pachytullbergiidae', 4], ['Tullbergiidae', 327] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=2875)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);