function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 9], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 4], ['Bulletin de la Société Botanique de France', 1], ['Bulletin du Départment de L\'Agriculture aux Indes Néerlandaises', 3], ['Geodiversitas', 1], ['Insecta Mundi', 1], ['Journal of Natural History', 2], ['Journal of the Arnold Arboretum', 5], ['PhytoKeys', 5], ['Phytotaxa', 2], ['Zoosystema', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=37)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);