function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bleeker, Pieter', 4], ['Boulenger, George Albert', 1], ['De Vis, Charles Walter', 2], ['Günther, Albert Charles Lewis Gotthilf', 4], ['Hase, A.', 1], ['Macleay, William John', 1], ['Poey, F.', 1], ['Richardson, John', 2], ['Sauvage, H. E.', 1], ['Spix, J. B. von & Agassiz, Jean Louis Rodolphe', 1], ['Steindachner, F.', 4], ['Steindachner, F. & Döderlein, L.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=23)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);