function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Agassiz, Jean Louis Rodolphe', 1], ['Bailey, Reeve M.', 2], ['Gilbert, Charles H.', 3], ['Girard, Charles Frédéric', 1], ['Moenkhaus, W. J.', 1], ['Moore, G. A. & Reeves, J. D.', 1], ['Radcliffe, L. & Welsh, W. W.', 1], ['Raney, E. C. & Hubbs, Carl L.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=11)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);