function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 2], ['Bulletin et Annales de la Societe Entomologique de Belge', 2], ['Bulletin of the American Museum of Natural History', 7], ['Revue de Zoologie Africaine', 2], ['Voyage de Ch. Alluaud et R. Jeannel en Afrique Orientale (1911 - 1912). Résultats scientifiques. Hyménoptères', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=14)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);