function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Garlet, Juliana & Costa, Ervandil C. & Boscardin, Jardel', 1], ['Ghahari, Hassan & Borowiec, Lech', 1], ['Napoles, Romero & de, Aracely & Cruz & Kingsolver, John M.', 2], ['Pérez-Hernández, Cisteil Xinum', 1], ['Romero, Jesús & Johnson, Clarence Dan', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=8)', 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);