function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Aristov, D. S.', 6], ['Guan, Zhaoying & Prokop, Jakub & Roques, Patrick', 4], ['Liu, Yushuang & Ren, Dong & Prokop, Jakub', 2], ['Martins-Neto, R. G. & Gallego, O. F. & Brauckmann, C.', 2], ['Nel, Andre & Garrouste, Romain & Prokop, Jakub', 4], ['Nel, Andre & Roques, Patrick & Duquesne, Herve', 1], ['Shcherbakov, Dmitry E.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=20)', 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);