function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abbott, Charles C.', 2], ['Agassiz, Jean Louis Rodolphe', 11], ['Ayres, W. O.', 2], ['Baird, S. F. & Girard, Charles Frédéric', 2], ['Conway, Kevin W.', 3], ['Cope, Edward Drinker', 24], ['Cope, Edward Drinker & Yarrow, H. C.', 3], ['Girard, Charles Frédéric', 8], ['Jordan, David Starr', 8], ['Jordan, David Starr & Evermann, Barton Warren', 2], ['Lesueur, Charles Alexandre', 12], ['Liu, Juan', 2], ['Rafinesque, Constantine Samuel', 2], ['Rutter, C. M.', 2], ['Tanner, V. M.', 2], ['Other (26)', 26] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=111)', 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);