function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Chen, Xiao-Xiao & Song, Yue-Hua', 2], ['Lin, Shuanghu & Zou, Hongfen & Huang, Min & Zhang, Yalin', 2], ['Ohara, Naomichi', 5], ['Pu, Tianyi & Wang, Jiuqiu & Song, Yuehua', 2], ['SONG, YUE-HUA & LI, ZI-ZHONG', 4], ['Tan, Chao & Yuan, Xiao-Wei & Song, Yue-Hua', 2], ['Yang, Xiao & Luo, Guimei & Song, Yuehua', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=18)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);