function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Geiger, Daniel L.', 4], ['Geiger, Daniel L. & Goedert, James L.', 1], ['Geiger, Daniel L. & Marshall, Bruce A.', 2], ['Helwerda, Renate A. & Wesselingh, Frank P.', 2], ['Herbert, David G.', 4], ['Luca, Javier Di & Zelaya, Diego G.', 2], ['Mariottini, Paolo & Smriglio, Carlo & Oliverio, Marco', 1], ['Muratov, Igor V. & Heyns-Veale, Elodie', 2], ['Nolt, Jaya M.', 1], ['d\'Orbigny, Alcide', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=20)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);