function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Braun, D. M.', 1], ['Bromley-Schnur, Heather J.', 2], ['Gammoudi, Mehrez & Garbouj, Myriam & Egger, Bernhard', 2], ['Harrath, Abdul Halim & Sluys, Ronald & Merzoug, Djemoi', 2], ['Müller, Otto Friedrich', 1], ['Stocchino, Giacinta Angela', 4], ['Vila-Farré, Miquel & Sluys, Ronald & Almagro, Ío', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=20)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);