function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales du Jardin Botanique de Buitenzorg.', 1], ['Biodiversity Data Journal', 4], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien. Mathematisch-Naturwissenschaftliche Klasse', 1], ['Journal of Botany', 1], ['Journal of the Arnold Arboretum', 2], ['Kew Bulletin', 4], ['Order out of Chaos. Linnaean Plant Types and their Types', 4], ['PhytoKeys', 1], ['Phytotaxa', 14], ['Proceedings of the Royal Society of Queensland', 1], ['Zoosystema', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=34)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);