function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Araújo, Marcel Santos De & Feres, Reinaldo José Fazzio', 1], ['Barreto, Mauricio & Burbano, María E. & Proctor, Heather C.', 1], ['Hernandes, Fabio A. & Valim, Michel P.', 2], ['Hernandes, Fábio A. & Valim, Michel P. & Mironov, Sergey V.', 3], ['Mironov, Sergey V. & Literak, Ivan & Sychra, Oldrich', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=19)', 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);