function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Deutsche Entomologische Zeitschrift', 1], ['Insect Science', 1], ['Insectes Sociaux', 1], ['Insectes Sociaux.', 1], ['Revista de Entomologia', 3], ['Revista de Entomologia, São Paulo', 2], ['Revue Suisse de Zoologie', 1], ['Revue de Zoologie et de Botanique Africaines', 1], ['Revue suisse de Zoologie', 1], ['Zootaxa', 38] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=50)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);