function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Braun, M.', 8], ['Buttel-Reepen, H. Von', 2], ['Diesing, Carl Moritz', 4], ['Leidy, Joseph', 5], ['Levinsen, G. M. R.', 6], ['Linstow, O. F. B. von', 2], ['Linton, E.', 27], ['Looss, A.', 7], ['MacCallum, G. A.', 3], ['MacCallum, William George', 2], ['Molin, R.', 13], ['Monticelli, F. S.', 3], ['Poirier, J.', 9], ['Stafford, J.', 5], ['Stossich, M.', 21], ['Other (14)', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=131)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);