function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Barret, Meghan', 1], ['Bossert, Silas & Monzón-Sierra, José & Zack, Richard S.', 2], ['Genaro, Julio A.', 1], ['Genaro, Julio A. & Franz, Nico M.', 3], ['Mahlmann, Thiago & Oliveira, Favizia Freitas de', 2], ['McCabe, Lindsie M & Chesshire, Paige R & Smith, David R', 1], ['RAMOS, KELLI S. & KAWADA, RICARDO & BRANDÃO, CARLOS ROBERTO F.', 4], ['Rasmussen, Claus & Vivallo, Felipe', 10], ['Vivallo, Felipe', 314], ['Vivallo, Felipe & Melo, Gabriel A. R.', 5], ['Vivallo, Felipe & Vásquez-Lenis, Elder A.', 4], ['Vivallo, Felipe & Vélez, Danny', 9], ['Vivallo, Felipe & Vélez, Danny & Fernández, Fernando', 11], ['Vivallo, Felipe & Zanella, Fernando César Vieira', 4], ['Vélez, Danny & Vivallo, Felipe', 2], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=376)', 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);