function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 4], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Candollea', 1], ['Harvard Papers in Botany', 2], ['Insecta Mundi', 3], ['PhytoKeys', 6], ['Phytotaxa', 8], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['SIDA, Contributions to Botany', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=29)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);