function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Appolloni, Massimo & Smriglio, Carlo & Amati, Bruno', 1], ['Geiger, Daniel L.', 2], ['Geiger, Daniel L. & Fernández-Garcés, Raúl', 2], ['Geiger, Daniel L. & Jansen, Patty', 12], ['Geiger, Daniel L. & Marshall, Bruce A.', 5], ['Geiger, Daniel L. & Mclean, James H.', 9], ['Gofas, Serge & Luque, Ángel A. & Oliver, Joan Daniel', 5], ['Hansen, Thomas', 3], ['Helwerda, Renate A. & Wesselingh, Frank P.', 3], ['Herbert, David G.', 7], ['Hoffman, Leon & Kniesz, Katharina & Arbizu, Pedro Martínez', 5], ['Leal, José H.', 1], ['Muratov, Igor V. & Heyns-Veale, Elodie', 2], ['Negri, Mauro Pietro & Corselli, Cesare', 1], ['Ortega, José Rafael & Gofas, Serge', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=62)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);