function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archibald, J. David & Averianov, Alexander', 11], ['Scott, Craig S.', 3], ['Tabuce, Rodolphe & Tortosa, Thierry & Vianey-Liaud, Monique', 5], ['Wible, JR & Rougier, GW & Novacek, MJ & Asher, RJ', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 4, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);