function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Butler, Richard J. & Barrett, Paul M. & Abel, Richard L.', 1], ['Butler, Richard J. & Rauhut, Oliver W. M. & Stocker, Michelle R.', 3], ['Desojo, Julia B. & Ezcurra, Martin D. & Schultz, Cesar L.', 1], ['Gower, David J.', 1], ['Nesbitt, Sterling J.', 14], ['Small, Bryan J.', 1], ['Tarsitano, Samuel', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=22)', 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);