function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Gattolliat, Jean-Luc & Samraoui, Boudjema & Benhadji, Nadhira', 1], ['Kaltenbach, Thomas & Vuataz, Laurent & Samraoui, Boudjema', 2], ['L, Carlos Naranjo & Peters, Janice G. & del, Pedro López', 1], ['Martynov, A. V. & Palatov, D. M. & Gattolliat, J. - L.', 1], ['Suter, P. J. & Webb, J. M. & Gattolliat, J. - L.', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=14)', 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);