function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Awad, Jessica & Krogmann, Lars & Talamas, Elijah', 2], ['Buhl, Peter N. & Broad, Gavin R. & Notton, David G.', 6], ['Buhl, Peter N. & Notton, David G.', 2], ['Madl, Michael & H, Inostemma & F, Leptacis & L, Platygaster', 1], ['Montes-Rodríguez, José Mauricio & Kondo, Takumasa', 1], ['Notton, David G.', 3], ['van Noort, Simon & Lahey, Zachary & Talamas, Elijah J.', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=23)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);