function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Heok Hee Ng & Darrell J. Siebert', 3], ['Heok Hee Ng & Kelvin K. P. Lim', 18], ['Lim, Kelvin K. P. & Ng, Heok Hee', 1], ['Ng, Casey Keat Chuan & Lim, Teow Yeong & Ahmad, Amirrudin', 1], ['Ng, H. H. Tan H. H.', 4], ['Ng, Heok Hee', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=28)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);