function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bush, Sarah E.', 129], ['Gustafsson, Daniel R. & Bush, Sarah E.', 42], ['Gustafsson, Daniel R. & Bush, Sarah E. & Palma, Ricardo L.', 48], ['Gustafsson, Daniel R. & Clayton, Dale H. & Bush, Sarah E.', 38], ['Kounek, Filip & Sychra, Oldrich & Capek, Miroslav', 29], ['Linnaeus, Carolus', 41], ['Naz, Saima & Najer, Tomas & Gustafsson, Daniel R.', 191], ['Palma, Ricardo L.', 23], ['Price, Roger D. & Dalgleish, Robert C.', 29], ['Reeves, Will K. & Durden, Lance A. & Ritzi, Christopher M.', 47], ['Reeves, Will K. & Durden, Lance A. & Wrenn, William J.', 33], ['Sánchez-Montes, Sokani & Colunga-Salas, Pablo', 354], ['Valim, Michel P. & Linardi, Pedro Marcos', 28], ['Valim, Michel P. & Palma, Ricardo L.', 23], ['Valim, Michel P. & Silveira, Luís F.', 24], ['Other (103)', 503] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=1582)', 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);