function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bidzilya, Oleksiy', 1], ['Bidzilya, Oleksiy & Karsholt, Ole & Kravchenko, Vasiliy', 2], ['D, Nandhini & R, Shashank P. & Joshi, Rahul & Reddy, Karthik M.', 4], ['Karsholt, Ole & Huemer, Peter', 1], ['Li, Houhun & Wang, Zhibo & Sattler, Klaus', 3], ['Omelko, M. M. & Omelko, N. V.', 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);