function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bogart, James P. & Klemens, Michael W.', 1], ['Duszynski, Donald W. & Bolek, Matthew G. & Upton, Steve J.', 2], ['Flores-Villela, Oscar & Ríos-Muñoz, César A.', 4], ['Ishikawa, Kaoru & Taguchi, Yuki & Kobayashi, Ryomei', 1], ['Linnaeus, Carolus', 2], ['Miracle, Eulàlia Gassó & Van, Lars W. & Ostende, Den Hoek', 1], ['Paredes-León, Ricardo & García-Prieto, Luis', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=12)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);