function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Austral Entomology', 1], ['Australian journal of entomology', 1], ['Biodiversity Data Journal', 11], ['Insect systematics & evolution', 2], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 1], ['Medd Soc Fauna Flora Fenn', 1], ['Mem. Estud Mus Zool Univ Coimbra', 1], ['Memoires de la Société (Royale) des Sciences, de l\'Agriculture et des Arts à Lille', 1], ['Proceedings of the Hawaiian Entomological Society', 2], ['Revue suisse de Zoologie', 6], ['Subterranean Biology', 8], ['ZooKeys', 14], ['Zoosystema', 103], ['Zootaxa', 345], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=504)', 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);