function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bertin, L.', 1], ['Bleeker, Pieter', 1], ['Derscheid, J. M.', 1], ['Edwards, A. J. & Gill, A. C. & Abohweyere, P. O.', 1], ['Hildebrand, S. F.', 1], ['Kailola, Patricia J.', 1], ['Nakashima, S.', 2], ['Randall, John Ernest Dr.', 1], ['Richardson, John', 1], ['Seshagiri Rao, B. V.', 1], ['Wongratana, Thosaporn', 1], ['Zainal Abidin, Danial Hariz & Lavoué, Sébastien', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);