function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bijdragen tot de Flora van Nederlandsch Indie', 1], ['Biodiversity Data Journal', 18], ['Birkhaeuser Verlag', 13], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 1], ['Candollea', 5], ['Check List', 2], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 2], ['Edinburgh Journal of Botany', 1], ['European Journal of Taxonomy', 3], ['Flora Helvetica', 12], ['Info Flora Schweiz', 16], ['Order out of Chaos. Linnaean Plant Types and their Types', 27], ['Phytotaxa', 19], ['Zoosystema', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=121)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);