function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Cope, E. D.', 5], ['Ibiricu, Lucio M. & Martínez, Rubén D. & Luna, Marcelo', 1], ['Iori, Fabiano Vidoi & Marinho, Thiago Da Silva', 1], ['Kellner, Alexander W. A. & Pinheiro, André E. P.', 2], ['Lambe L. M.', 2], ['Meylan, Peter A. & Sterrer, Wolfgang', 1], ['Nesbitt, Sterling J.', 1], ['Oliveira, Gustavo Ribeiro De & Kellner, Alexander Wilhelm Armin', 2], ['Wang, Xiaolin & Campos, Diogenes De Almeida & Zhou, Zhonghe', 2], ['Zhou, Chang-Fu', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=18)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);