function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Alhadi, Farits & Hamidy, Amir & Farajallah, Achmad', 1], ['Badli-Sham, Baizul Hafsyam & Syafiq, Muhamad Fatihah', 1], ['Figueroa, Alex & Low, Martyn E. Y. & Lim, Kelvin K. P.', 2], ['Hakim, Jonathan & Trageser, Scott J. & Ghose, Animesh', 1], ['Liu, Shuo & Hou, Mian & Mo, Mingzhong & Rao, Dingqi', 1], ['Liu, Shuo & Yang, Bin & Wang, Qianyan & Hou, Mian', 1], ['Nguyen, Tan Van & Liu, Shuo & Tran, Vy The & Tran, Thinh Gia', 1], ['Poyarkov, Nikolay A. & Nguyen, Tan Van & Duong, Tang Van', 1], ['Sankar, Ananthanarayanan & Law, Ingg Thong & Law, Ing Sind', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=10)', 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);