function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 2], ['Biodiversity Data Journal', 1], ['Bulletin de la Societe Vaudoise des Sciences Naturelles', 3], ['Papéis Avulsos de Zoologia', 1], ['Revue suisse de Zoologie', 3], ['Unknown Publisher', 48], ['Zoosystema', 2], ['Zootaxa', 53] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=113)', 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);