function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['Birkhaeuser Verlag', 28], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 9], ['Candollea', 7], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 15], ['Flora Helvetica', 25], ['Info Flora Schweiz', 28], ['Journal of Species Research', 3], ['Linzer biologische Beiträge', 4], ['Order out of Chaos. Linnaean Plant Types and their Types', 73], ['PhytoKeys', 7], ['Phytotaxa', 55], ['Revue Suisse de Zoologie', 2], ['South African Journal of Botany', 2], ['Zootaxa', 3], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=270)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);