function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Day, F.', 1], ['Gilchrist, J. D. F. & Thompson, W. Wardlaw', 1], ['Golani, Daniel & Bogorodsky, Sergey V.', 1], ['Jordan, David Starr', 1], ['Lucas, A. H. S.', 2], ['Macleay, William John', 2], ['Steindachner, F.', 1], ['Whitley, Gilbert P.', 1], ['de Laporte Castelnau La Ferté-Sénectère, Francis L.', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=14)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);