function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Allodiatrype', 3], ['Cryptosphaeria', 1], ['Diatrype', 10], ['Diatrypella', 52], ['Eutypa', 3], ['Halocryptovalsa', 2], ['Libertella', 1], ['Neoeutypella', 1], ['Paraeutypella', 9], ['Peroneutypa', 11], ['Phaeoisaria', 15], ['Pseudodiatrype', 775] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=883)', 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);