function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 6], ['Bijdragen tot de Flora van Nederlandsch Indie', 1], ['Biodiversity Data Journal', 2], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Insecta Mundi', 3], ['Novon: A Journal for Botanical Nomenclature', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 30], ['PhytoKeys', 36], ['Phytochemistry', 2], ['Phytotaxa', 37], ['Zoosystema', 2], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=123)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);