function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boulard, Michel & Puissant, Stéphane', 4], ['Davis, W. T.', 1], ['Hill, Kathy B. R. & Marshall, David C.', 1], ['Mozaffarian, Fariba', 1], ['Sanborn, Allen F.', 47], ['Sanborn, Allen F. & Phillips, Polly K. & Gilllis, Philip', 13], ['Stucky, Brian J.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=68)', 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);