function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Baumann, Richard W. & Stark, Bill P.', 7], ['Béthoux, Olivier', 1], ['Hanson, John F.', 1], ['Murányi, Dávid & Hwang, Jeong Mi', 1], ['Zwick, Peter', 1], ['Zwick, Peter & Baumann, Richard W.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=12)', 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);