function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Achatz, Johannes G.', 5], ['Achatz, Johannes G. & Hooge, Matthew D.', 5], ['Achatz, Johannes G. & Hooge, Matthew D. & Tyler, Seth', 8], ['Atherton, Sarah & Jondelius, Ulf', 36], ['Faubel, A. & Warwick, R. M.', 16], ['Hooge, Matthew D. & Eppinger, Neil', 3], ['Hooge, Matthew D. & Rocha, Carlos E. F.', 20], ['Hooge, Matthew D. & Smith, Julian P. S. & Iii', 5], ['Hooge, Matthew D. & Tyler, Seth', 32], ['Kånneby, Tobias & Bernvi, David. C. & Jondelius, Ulf', 4], ['Kånneby, Tobias & Jondelius, Ulf', 10], ['Love, Milton S. & Bizzarro, Joseph J. & Cornthwaite, Maria', 5], ['Meyer-Wachsmuth, Inga & Curini-Galletti, Marco & Jondelius, Ulf', 9], ['Nilsson, Karin Sara & Wallberg, Andreas & Jondelius, Ulf', 9], ['Rouse, Greg W. & Wilson, Nerida G. & Carvajal, Jose Ignacio', 4], ['Other (9)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=182)', 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);