function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 1], ['Annales de Parasitologie Humaine et Comparée', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 4, Section A, Zoologie, Biologie et Écologie d’Animal', 8], ['Revue suisse de Zoologie', 1], ['Systematic Parasitology', 1], ['Vestnik Zoologii', 1], ['ZooKeys', 2], ['Zootaxa', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=35)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);