function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 41], ['Biodiversity Data Journal', 10], ['Birkhaeuser Verlag', 11], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 11], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 23], ['Candollea', 8], ['Edinburgh Journal of Botany', 89], ['European Journal of Taxonomy', 192], ['Info Flora Schweiz', 11], ['Insecta Mundi', 17], ['Journal of the Arnold Arboretum', 11], ['Order out of Chaos. Linnaean Plant Types and their Types', 60], ['PhytoKeys', 105], ['Phytotaxa', 181], ['Transactions of the Linnean Society of London, Second Series. Botany', 7], ['Other (19)', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=816)', 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);