function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bollettino di Zoologia', 2], ['Bulletin du Muséum National d’Histoire Naturelle, Série 4, Section A, Zoologie, Biologie et Écologie d’Animal', 1], ['Comptes rendus de l’Académie des Sciences', 1], ['Journal of Limnology', 1], ['Kieler Meeresforschungen', 2], ['Mikrofauna des Meeresbodens', 3], ['Special publication of the Mukaishima Marine Biological Station', 1], ['Transactions of the American Microscopical Society', 1], ['Zootaxa', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=44)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);