function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulnes, V. N. & Faubel, A. & Park, J. - K.', 3], ['Cuadrado, Daniel & Rodríguez, Jorge & Moro, Leopoldo', 4], ['Marquina, Daniel & Osca, David & Rodríguez, Jorge', 2], ['Merory, Marsha & Newman, Leslie J.', 1], ['Noreña, Carolina & Rodríguez, Jorge & Pérez, Jacinto', 1], ['Ramos-Sánchez, Mariela & Carrasco-Rodríguez, Dahani S.', 2] ]); 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);