function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Gonza ́ Lez-Acun, Daniel A. & Palma, Ricardo L.', 1], ['Horsfield, Thomas', 6], ['Jansen, Justin J. F. J.', 1], ['Kumar Arya, Sumit & Gopi, Govindan Veeraswami', 1], ['Linnaeus, Carolus', 12], ['Müller, Philipp Ludwig Statius', 1], ['Paperna, Ilan & Keong, Malcolm Soh Chu & May, Charlotte Yap Aye', 2], ['Robb, Magnus S. & van den Berg, Arnoud B. & Constantine, Mark', 1], ['Temminck, Coenraad Jacob', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=32)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);