function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Carpenter, James M. & Brown, Graham R.', 2], ['Dorji, Phurpa & Nidup, Tshering & Klein, Wim & Dorji, Cheten', 1], ['Gawas, Sandesh M. & Kumar, Girish & Pannure, Arati', 2], ['Lee, John X. Q. & Soh, Zestin W. W. & Chui, Shao Xiong', 1], ['Mahmood, Khalid & Ullah, Mishkat & Aziz, Abdul', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=7)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);