function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Christian Schmid-Egger', 3], ['Fabricius, Johann Christian', 2], ['Gadallah, Neveen S. & Brothers, Denis J.', 5], ['Lelej, A. S. & Mokrousov, M. V.', 24], ['Liu, Zhen & Achterberg, Cornelis Van & He, Jun-Hua', 27], ['Ramírez-Guillén, Luis Damián & Falcon-Brindis, Armando', 8], ['Schedl, W.', 7], ['Smith, F.', 10], ['Taylor, Christopher & Barthélémy, Christophe', 6], ['Xian, Chunlan & Leong, Chi Man & Luo, Jiuyang & Jia, Fenglong', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=94)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);