function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Angulo, Arturo', 6], ['Angulo, Arturo & Betts, Joel T. & González-Alemán, Néstor J.', 6], ['Beebe, W. & Tee-Van, J.', 1], ['Edwards, A. J. & Gill, A. C. & Abohweyere, P. O.', 1], ['Eigenmann, C. H.', 1], ['Goode, G. B. & Bean, T. H.', 1], ['Longley, W. H.', 1], ['Love, Milton S. & Bizzarro, Joseph J. & Cornthwaite, Maria', 4], ['Poey, F.', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', 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);