function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Azman, B. A. R.', 10], ['Duncan, Kelvin W. Dr.', 10], ['Friend, J. Anthony', 11], ['Hughes, Lauren E. & Lowry, James K.', 18], ['Lowry, J. K.', 14], ['Lowry, J. K. & Baldanzi, S.', 11], ['Lowry, J. K. & Bopiah, Arundathi', 9], ['Lowry, J. K. & Fanini, Lucia', 8], ['Lowry, J. K. & Myers, A. A.', 51], ['Lowry, J. K. & Springthorpe, R. T.', 27], ['Myers, Alan A. & Lowry, James K.', 18], ['Serejo, C. S. & Lowry, J. K.', 12], ['Serejo, Cristiana S.', 11], ['Thacker, Dimple & Patel, Krupal & Myers, Alan', 8], ['Wildish, David J.', 18], ['Other (71)', 158] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=394)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);