function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amirthalingam, C.', 1], ['Dooley, James K.', 1], ['Dooley, James K. & Iwatsuki, Yukio', 1], ['Dooley, James K. & Kailola, Patricia J.', 1], ['Edwards, A. J. & Gill, A. C. & Abohweyere, P. O.', 1], ['Herre, Albert W. C. T.', 1], ['Hiramatsu, Wataru & Vinh, Chu Tien & Endo, Hiromitsu', 2], ['Ho, Hsuan-Ching & Shao, Kwang-Tsao', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=9)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);