function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ancey, C. F.', 6], ['Baldwin, D. D.', 20], ['Borcherding, F.', 5], ['Gould, A. A.', 10], ['Guinea, Michael & Pilsbry, Henry A.', 23], ['Gulick, J. T.', 72], ['Gulick, J. T. & Smith, E. A.', 28], ['Newcomb, W.', 79], ['Paetel, F.', 6], ['Pease, W. H.', 10], ['Pfeiffer, L.', 62], ['Pilsbry, Henry A. & Cooke, C. Montague', 17], ['Reeve, Lovell A.', 12], ['Swainson, W.', 7], ['Sykes, E. R.', 7], ['Other (9)', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=387)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);