function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Barrio-Amorós, César L. & Brewer-Carías, Charles', 1], ['Harvey, Michael B. & Ugueto, Gabriel N. & Gutberlet, Ronald L.', 4], ['Llanqui, Irbin B. & Y. Salas, Cinthya & Oblitas, Melissa P.', 1], ['Myers, Charles W. & Rodrigues, Miguel Trefaut', 1], ['Ribeiro-Júnior, Marco A. & Amaral, Silvana', 5], ['Uchoa, Lucas Rafael & Delfim, Fagner Ribeiro', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);