function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bleeker, Pieter', 1], ['Fang, P. - W. & Chong, L. - T.', 4], ['Fu, T. - S.', 1], ['Kner, R.', 1], ['Nichols, J. T.', 2], ['Shih, H. - J.', 1], ['Steindachner, F.', 1], ['Ye, Enqi & Xing, Yingchun & Zhang, Chunguang & Zhao, Yahui', 2], ['Zhou, Caiwu & Kong, X. - Y. & Zhu, S. - R.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=14)', 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);