function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boonprajan, Punvarit & Leeratiwong, Charan', 1], ['Song, Zhu-Qiu & Li, Shi-Jin & Vu, Quang Nam & Khang, Nguyen Sinh', 2], ['Song, Zhuqiu & Pan, Bo', 2], ['Thothathri, Krishnamurthy', 1], ['Verdcourt, Bernard', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=8)', 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);