function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 2], ['Biodiversity Data Journal', 3], ['Bulletin of the British Museum (Natural History) Entomology', 12], ['Memoires de l\'Institut Francais d\'Afrique Noire', 1], ['Psyche', 6], ['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=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);