function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Dale-Skey, Natalie & Askew, Richard R. & Noyes, John S.', 30], ['Hopper, Keith R. & Woolley, James B. & Hoelmer, Kim', 4], ['Howard, L. O.', 1], ['Japoshvili, G. & Abrantes, I.', 8], ['Japoshvili, George & Hansen, Lars Ove', 9], ['Lopes, Thomas & Libert, Pierre-Nicolas & Starý, Petr', 7], ['Martínez-Chávez, Laura Marcela & Duque-Gamboa, Diana Nataly', 2], ['Rust, E. W.', 1], ['Shirley, Xanthe A. & Woolley, James B. & Hopper, Keith R.', 4], ['Swezey, O. H.', 1], ['Timberlake, P. H.', 2], ['Walker, Francis', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=78)', 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);