function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Dick, Matthew H. & Grischenko, Andrei V.', 1], ['Dick, Matthew H. & Ngai, Nguyen Danh & Doan, Hung Dinh', 1], ['Martino, Emanuela Di', 1], ['Ramalho, LaĆ­s V. & Moraes, Fernando C. & Salgado, Leonardo T.', 1], ['Taylor, Paul D. & Tan, Shau-Hwai Aileen', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=5)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);