function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 20], ['Arrhopalitidae', 870], ['Brachystomellidae', 23], ['Entomobryidae', 7996], ['Hypogastruridae', 258], ['Isotomidae', 1269], ['Neanuridae', 2475], ['Neelidae', 170], ['Odontellidae', 25], ['Oncopoduridae', 63], ['Onychiuridae', 1455], ['Paronellidae', 2148], ['Sminthuridae', 78], ['Tomoceridae', 134], ['Tullbergiidae', 139], ['Other (7)', 42] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=17165)', 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);