function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boulard, Michel', 1], ['Lee, Young June', 11], ['Lee, Young June & Marshall, David C. & Mohagan, Alma', 2], ['Lee, Young June & Marshall, David C. & Mohagan, Alma B.', 2], ['Pham, Thai-Hong & Nguyen, Thi Huyen & Constant, Jerome', 2], ['Sanborn, Allen F. & Phillips, Polly K. & Sites, Robert W.', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=25)', 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);