function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abotsi, Komla Elikplim & Kokou, Kouami & Dubuisson, Jean-Yves', 2], ['Arana, Marcelo D.', 1], ['Boudrie, Michel & Cremers, Georges & Øllgaard, Benjamin', 4], ['Matos, Fernando B. & Bohn, Amabily & Labiak, Paulo H.', 1], ['Øllgaard, Benjamin', 1], ['Øllgaard, Benjamin & Testo, Weston', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=16)', 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);