function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Brothers, Denis J. & Lelej, Arkady S. & Williams, Kevin A.', 1], ['Burret, Max', 1], ['Franco, P. & Dahms, H. - U. & Lo, W. - T. & Hwang, J. - S.', 5], ['Hess, Hans Ernst & Landolt, Elias & Hirzel, Rosmarie', 3], ['Karunarathne, Krishan D. & Croos, M. D. S. T. De', 4], ['Schumann, Karl Moritz', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=15)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);