function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Fischer, M.', 1], ['Fischer, M. & Tormos, J. & Pardo, X. & J. D', 5], ['Gadallah, Neveen S. & Ghahari, Hassan', 3], ['Ghahari, H. & Fischer, M. & Sakenin, H. & Imani, S.', 1], ['Papp, J.', 8], ['Papp, Jeno', 1], ['Peris, Francisco Javier & Papp, Jeno & Belokobylskij, Sergey A.', 7], ['Peris-Felipo, Francisco Javier & Belokobylskij, Sergey A', 20], ['Peris-Felipo, Francisco Javier & Belokobylskij, Sergey A.', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=64)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);