function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bourke, Gayleen & Pratt, Renae C. & Vanderduys, Eric', 2], ['Doughty, Paul & Bauer, Aaron M. & Pepper, Mitzy', 7], ['Doughty, Paul & Bourke, Gayleen & Tedeschi, Leonardo G.', 5], ['Doughty, Paul & Palmer, Russell & Sistrom, M. J.', 2], ['Ellis, Ryan J. & Doughty, Paul & Bauer, Aaron M. & Pepper, Mitzy', 1], ['Figueroa, Alex & Low, Martyn E. Y. & Lim, Kelvin K. P.', 1], ['Flecks, Morris & Schmitz, Andreas & Böhme, Wolfgang', 1], ['Girard, Charles Frédéric', 1], ['Gray, John Edward', 1], ['Hoser, Raymond', 1], ['Hutchinson, Mark N. & Sistrom, Mark J. & Donnellan, Stephen C.', 6], ['Karin, Benjamin R. & Stubbs, Alexander L. & Arifin, Umilaela', 2], ['Kealley, Luke & Doughty, Paul & Pepper, Mitzy & Keogh, J. Scott', 5], ['Oliver, Paul M. & Bourke, Gayleen & Pratt, Renae C.', 3], ['Zozaya, Stephen M. & Fenker, Jéssica & Macdonald, Stewart L.', 2], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=47)', 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);