function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 303], ['Biodiversity Data Journal', 2], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Gardens\' Bulletin (Singapore)', 2], ['Insecta Mundi', 4], ['Kew Bulletin', 3], ['Notes from the Royal Botanic Garden, Edinburgh, Horti Agrobotanici Cluj-Napoca', 2], ['Order out of Chaos. Linnaean Plant Types and their Types', 3], ['Phytotaxa', 11], ['Zoosystema', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=336)', 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);