function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Brown, Leonard & Raines, Bret', 1], ['Dall, William Healey', 2], ['Huang, Chih-Wei & Lee, Yen-Chen', 32], ['Lam, Katherine & Morton, Brian & Leung, K. F.', 1], ['Mariottini, Paolo & Smriglio, Carlo & Oliverio, Marco', 1], ['Negri, Mauro Pietro & Corselli, Cesare', 1], ['Ortega, José Rafael & Gofas, Serge', 3], ['Röding, Peter Friedrich', 9], ['Sacchetti, Claudia & Landau, Bernard & Ávila, Sérgio P.', 2], ['Zelaya, Diego G. & Güller, Marina', 5], ['Zvonareva, Sofya & Kantor, Yuri', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=58)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);