function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 7], ['Annalen des Naturhistorischen Museums in Wien', 7], ['Annales de la Societe Entomologique de Belgique', 31], ['Annales de la Société Entomologique de France', 19], ['Berliner Entomologische Zeitschrift', 7], ['Biodiversity Data Journal', 229], ['Bulletin of the American Museum of Natural History', 40], ['Check List', 8], ['Current Biology', 18], ['Journal of Hymenoptera Research', 447], ['Memoires de l\'Institut Francais d\'Afrique Noire', 20], ['Mitteilungen der Schweizerischen Entomologischen Gesellschaft', 10], ['Voyage de Ch. Alluaud et R. Jeannel en Afrique Orientale (1911 - 1912). Résultats scientifiques. Hyménoptères', 13], ['ZooKeys', 2706], ['Zootaxa', 121], ['Other (40)', 129] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3812)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);