function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Britton, Everard B.', 3], ['Brookes, Albert E.', 2], ['Broun, Thomas', 5], ['Fairburn, E.', 1], ['Johns, Peter Malcolm Mr.', 1], ['Larochelle & Larivière, Marie-Claude & Larochelle & Larivière', 14], ['Seldon, David S. & Buckley, Thomas R.', 54], ['Seldon, David S. & Leschen, Richard A. B.', 14], ['Seldon, David S. & Leschen, Richard A. B. & Liebherr, James K.', 1], ['Townsend, James Ian Mr.', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=102)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);