function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Andre, E.', 2], ['André, E', 2], ['Brendone Boudinot & Rodolfos Probst & Carlos Roberto F. Brandão', 1], ['Lucky, Andrea & Ward, Philip S.', 2], ['Mayr, G.', 2], ['Smith, D. J. & Shattuck, S. O.', 6], ['Smith, Derek J. & Shattuck, Steve', 7], ['Ulysséa, Mônica Antunes & Prado, Lívia Pires do', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=23)', 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);