function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Chen, Zhaoyang & Li, Dengqing & Li, Daiqin & Xu, Xin', 4], ['Chen, Zhaoyang & Liu, Fengxiang & Li, Daiqin & Xu, Xin', 5], ['Li, Dengqing & Liu, Fengxiang & Li, Daiqin & Xu, Xin', 4], ['Li, Dengqing & Liu, Hao & Xu, Xin', 5], ['Ono, Hirotsugu', 11], ['Peter J. Schwendinger', 17], ['Schwendinger, Peter J. & Huber, Siegfried', 14], ['Schwendinger, Peter J. & Ono, Hirotsugu', 8], ['Sivayyapram, Varat & Kunsete, Chawakorn & Xu, Xin', 8], ['Xu, Xin & Liu, Fengxiang & Chen, Jian & Li, Daiqin', 7], ['Xu, Xin & Liu, Fengxiang & Kuntner, Matjaz & Li, Daiqin', 5], ['Xu, Xin & Liu, Fengxiang & Ono, Hirotsugu & Chen, Jian', 9], ['Xu, Xin & Ono, Hirotsugu & Kuntner, Matjaz & Liu, Fengxiang', 20], ['Xu, Xin & Yu, Li & Liu, Fengxiang & Li, Daiqin', 11], ['Yu, Li & Liu, Fengxiang & Zhang, Zengtao & Wang, Yan', 5], ['Other (11)', 27] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=160)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);