function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 36], ['Adansonia: Recueil d\'Observations Botaniques', 3], ['Annalen des Naturhistorischen Museums in Wien', 2], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 2], ['Botanical Magazine Tokyo', 6], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 50], ['Brunonia', 12], ['Candollea', 13], ['Journal of Botany', 2], ['Journal of the Arnold Arboretum', 43], ['Kew Bulletin', 13], ['Laurentius Salvius', 3], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 6], ['Phytotaxa', 11], ['Zootaxa', 6], ['Other (8)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=219)', 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);