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.', 3], ['Bulletin de la Société Botanique de France', 1], ['Bulletin du Départment de L\'Agriculture aux Indes Néerlandaises', 3], ['Insecta Mundi', 1], ['Phytotaxa', 2], ['Zoosystema', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=22)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);