function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boustani, Mira & Rasmont, Pierre & Dathe, Holger H.', 6], ['Griswold, Terry L.', 3], ['Lhomme, Patrick', 7], ['Maharramov, M. M. & Fateryga, A. V. & Proshchalykin, M. Yu.', 1], ['Müller, Andreas', 3], ['Risch, Stephan & Roberts, Stuart P. M. & Smit, Jan', 2], ['Straka, Jakub & Batelka, Jan & Pauly, Alain', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=23)', 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);