function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['Cytosporella', 1], ['Diaporthe', 41], ['Dothiorella', 2], ['Phlyctema', 1], ['Phyllosticta', 1], ['Pseudophaeocytostroma', 7], ['Rhytisma', 2], ['Septoria', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=58)', 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);