function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bousquet, Yves', 47], ['Keller, Oliver & Schnepp, Kyle E. & Ashman, Krystal L.', 2], ['Sokolov 1, Igor M. & Schnepp 2, Kyle E.', 2], ['Sokolov, I. M. & Carlton, C. E.', 2], ['Sokolov, Igor M.', 16], ['Sokolov, Igor M. & Carlton, Christopher & Cornell, James F.', 29], ['Sokolov, Igor M. & Carlton, Christopher E.', 6], ['Sokolov, Igor M. & Carlton, Christopher E. & Watrous, Larry E.', 1], ['Sokolov, Igor M. & Reddell, James R. & Kavanaugh, David H.', 8], ['Sokolov, Igor M. & Sokolova, Yuliya Y. & Carlton, Christopher E.', 3], ['Sokolov, Igor M. & Watrous, Larry E.', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=119)', 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);