function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Castro-Vargas, Maria I. & Morales, Irina & Molano-Rendón, Fredy', 3], ['Moreira, Felipe Ferraz Figueiredo & Barbosa, Julianna Freires', 4], ['Pacheco-Chaves, Bernald & Cordeiro, Isabelle Da Rocha Silva', 2], ['Riviaux, Senén Muñoz & Moreira, Felipe Ferraz Figueiredo', 1], ['Rodrigues, Juliana Mourão Dos Santos', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=12)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);