function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Aguilar-Camacho, Jose Maria & Carballo, Jose Luis', 4], ['Bertolino, Marco & Cerrano, Carlo & Bavestrello, Giorgio', 2], ['Cavalcanti, Thaynã & Santos, George Garcia & Pinheiro, Ulisses', 5], ['Gray, John Edward', 1], ['Ott, B. & Mcdaniel, N. & Humphrey, E.', 4], ['Pestana, Rosa & Ribeiro, Cláudia & Boury-Esnault, Nicole', 1], ['Recinos, Radharanne & Pinheiro, Ulisses & Willenz, Philippe', 3], ['Santos, George Garcia & França, Fernando & Pinheiro, Ulisses', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);