function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['HORMIGA, GUSTAVO & ALVAREZ-PADILLA, FERNANDO', 1], ['Li, Ya & Li, Shuqiang & Lin, Yucheng', 11], ['Lin, Yucheng & Li, Shuqiang', 6], ['Lin, Yucheng & Pham, Dinh-Sac & Li, Shuqiang', 1], ['Miller, Jeremy & Griswold, Charles & Yin, Chang', 4], ['Rivera-Quiroz, Francisco Andres & Petcharad, Booppa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', 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);