function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Autoicomyces', 3], ['Ceratomyces', 2], ['Eusynaptomyces', 4], ['Helodiomyces', 8], ['Rhynchophoromyces', 5], ['Thripomyces', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);