function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boulard, Michel', 1], ['Lee, Young June', 14], ['Lee, Young June & Marshall, David C. & Mohagan, Alma', 2], ['Lee, Young June & Marshall, David C. & Mohagan, Alma B.', 1], ['Maes, Jean-Michel & Moulds, Max & Sanborn, Allen F.', 1], ['Price, Benjamin Wills & Allan, Elizabeth Louise & Marathe, Kiran', 22], ['Sanborn, Allen F. & Phillips, Polly K. & Sites, Robert W.', 15], ['Walker, Francis', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=58)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);