function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abbott, John C. & Hibbitts, Troy D.', 2], ['Bazzi, Gaia & Galimberti, Andrea & Foglini, Claudio', 2], ['Hagen, H.', 3], ['Jocque, Merlijn & Garrison, Rosser', 1], ['K. J. Morton', 1], ['Martin, R.', 1], ['Novelo-Gutiérrez, Rodolfo', 3], ['Pompilio, Lucia & Mosini, Andrea', 1], ['Schneider, Thomas & Ikemeyer, Dietmar & Müller, Ole', 1], ['Selys-Longchamps, Edm. de', 1], ['Thoma, Marco & Althaus, Sarah', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=17)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);