function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bhowmik, Suman', 1], ['Braby, Michael F.', 1], ['Chainey, John E.', 1], ['Davenport, Chris & Grimaldi, Nicolas', 10], ['Davenport, Chris & Pequin, Olivier & Vries de, Peter Jan Andre', 1], ['Hsu, Yu-Feng & Huang, Hang-Chi & Lu, Chen-Chih', 2], ['Irungbam, Jatishwor Singh & Meitei, Laishram Ricky', 9], ['Lo, Yik-Fui Philip', 1], ['Monastyrskii, Alexander L. & Lien, Vu Van', 1], ['Sidat, Azaz & Bhatt, Urjit', 1], ['Xian, Chunlan & Leong, Chi Man & Luo, Jiuyang & Jia, Fenglong', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=31)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);