function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Agosti, Donat', 3], ['Emery, C.', 4], ['Emery, Carlo', 1], ['Forel, A.', 23], ['Gratiashvili, N. & Barjadze, S.', 1], ['Karawaiew, W.', 7], ['Martynov, Alexander V. & Radchenko, Alexander G.', 1], ['Mayr, G.', 1], ['Paknia, O. & Radchenko, A. & Alipanah, H.', 1], ['Santschi, F.', 1], ['Smith, F.', 2], ['Ward, P. S.', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=68)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);