function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 6], ['Birkhaeuser Verlag', 26], ['Candollea', 5], ['Check List', 1], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 4], ['European Journal of Taxonomy', 3], ['Flora Helvetica', 27], ['Info Flora Schweiz', 32], ['Journal of Species Research', 2], ['Laurentius Salvius', 26], ['Order out of Chaos. Linnaean Plant Types and their Types', 62], ['PhytoKeys', 18], ['Phytotaxa', 77], ['Plant Ecology and Evolution', 2], ['Vegetatio', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=292)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);