function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 4], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 26], ['Botanical Magazine Tokyo', 2], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 12], ['Gardens\' Bulletin (Singapore)', 1], ['Harvard Papers in Botany', 1], ['Journal of the Arnold Arboretum', 7], ['Kew Bulletin', 1], ['Papéis Avulsos de Zoologia', 2], ['PhytoKeys', 1], ['Phytotaxa', 5], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', 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);