function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ayling, A. M. & Paxton, John R.', 1], ['De Vis, Charles Walter', 1], ['Gomon, Martin F. & Paxton, John R.', 1], ['Laan, Richard Van Der & Eschmeyer, William N. & Fricke, Ronald', 1], ['Macleay, William John', 3], ['Ogilby, J. D.', 1], ['Richardson, John', 2], ['Whitley, Gilbert P.', 1], ['de Laporte Castelnau La Ferté-Sénectère, Francis L.', 3] ]); 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);