function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 44], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 4], ['Candollea', 1], ['Contributions from Herbarium Australiense', 1], ['Gardens\' Bulletin (Singapore)', 15], ['Journal of the Arnold Arboretum', 11], ['PhytoKeys', 1], ['Phytochemistry', 1], ['Phytotaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);