function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Hugel, Sylvain', 1], ['Liu, Jing & Luo, Haiyu & Lu, Xiangyi & Bian, Xun', 1], ['Naskrecki, Piotr & Rentz, David C. F.', 5], ['Rentz, Dcf & Su, You Ning', 1], ['Swezey, O. H.', 1], ['Tan, Ming Kai & Ingrisch, Sigfrid & Robillard, Tony', 4], ['Tan, Ming Kai & Japir, Razy & Chung, Arthur Y. C.', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=15)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);