function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Brandão, Simone N. & Saeedi, Hanieh & Brandt, Angelika', 1], ['Chavtur, Vladimir G.', 3], ['Churchill, Celia K. C. & Ellis, Emily A. & Pique, Alannah E.', 4], ['Karanovic, I.', 3], ['Karanovic, Ivana & Soh, Ho-Young', 5], ['Kornicker, Louis S. & Iliffe, Thomas M.', 13], ['Perez-Gelabert, Daniel E.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=30)', 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);