function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 26], ['Biodiversity Data Journal', 1], ['Birkhaeuser Verlag', 18], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 21], ['Flora Helvetica', 13], ['Info Flora Schweiz', 25], ['Journal of Species Research', 1], ['Laurentius Salvius', 10], ['Linzer biologische Beiträge', 3], ['Order out of Chaos. Linnaean Plant Types and their Types', 11], ['PhytoKeys', 13], ['Phytochemistry', 1], ['Phytotaxa', 7], ['Vegetatio', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=152)', 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);