function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Calcinai, Barbara & Bastari, Azzurra & Bavestrello, Giorgio', 2], ['Calcinai, Barbara & Belfiore, Giuseppe & Pica, Daniela', 2], ['Campos, Maurício & Mothes, Beatriz & Eckert, Rafael', 1], ['Helmy, Tamer & Van, Rob W. M. & Soest', 4], ['Hooper, John N. A. & Van, Rob W. M. & Soest', 2], ['Rützler, Klaus & Piantoni, Carla & Van, Rob W. M.', 1], ['Santos, George Garcia & Docio, Loyana & Pinheiro, Ulisses', 2], ['Ugalde, Diana & Fernandez, Julio C. C. & Gómez, Patricia', 2], ['Ugalde, Diana & Gómez, Patricia & Simões, Nuno', 2], ['Van, Rob W. M.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=19)', 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);