function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Buhl, Peter N. & Broad, Gavin R. & Notton, David G.', 6], ['Buhl, Peter N. & Notton, David G.', 2], ['Lahey, Zachary & Talamas, Elijah & Masner, Lubomir', 2], ['M. Anjana & K. Rajmohana & D. Vimala & R. Sundararaj', 3], ['Silvestri, Filippo', 1], ['van Noort, Simon & Lahey, Zachary & Talamas, Elijah J.', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=16)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);