function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 1], ['Adansonia: Recueil d\'Observations Botaniques', 3], ['Annalen des Naturhistorischen Museums in Wien', 2], ['Bijdragen tot de Flora van Nederlandsch Indie', 1], ['Botanical Magazine Tokyo', 4], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 42], ['Brunonia', 6], ['Candollea', 13], ['Insecta Mundi', 1], ['Journal of Botany', 1], ['Journal of the Arnold Arboretum', 23], ['Kew Bulletin', 7], ['Laurentius Salvius', 1], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 4], ['Phytotaxa', 5], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=117)', 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);