function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Cárdenas, Paco & Menegola, Carla & Rapp, Hans Tore', 1], ['Diaz, Maria Cristina & Nuttall, Marissa & Pomponi, Shirley A.', 3], ['Gray, John Edward', 1], ['Lehnert, Helmut & Stone, Robert P.', 1], ['Rützler, Klaus & Piantoni, Carla & Van, Rob W. M.', 1], ['Ugalde, Diana & Fernandez, Julio C. C. & Gómez, Patricia', 1], ['Ugalde, Diana & Gómez, Patricia & Simões, Nuno', 2], ['Van, Rob W. M.', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=14)', 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);