function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 22], ['Bijdragen tot de Flora van Nederlandsch Indie', 7], ['Biodiversity Data Journal', 86], ['Birkhaeuser Verlag', 11], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 3], ['Candollea', 16], ['Check List', 17], ['Flora Helvetica', 6], ['Hooker\'s Journal of Botany and Kew Garden Miscellany', 2], ['Info Flora Schweiz', 7], ['Notizblatt des Königlichen Botanischen Gartens und Museums zu Berlin', 2], ['Order out of Chaos. Linnaean Plant Types and their Types', 54], ['PhytoKeys', 10], ['Phytotaxa', 146], ['Zootaxa', 5], ['Other (17)', 19] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=413)', 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);