function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 2], ['Biodiversity Data Journal', 10], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Bulletin du Départment de L\'Agriculture aux Indes Néerlandaises', 1], ['Laurentius Salvius', 2], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 2], ['PhytoKeys', 8], ['Phytotaxa', 41], ['Raffles Bulletin of Zoology', 2], ['Transactions of the Linnean Society of London, Second Series. Botany', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=72)', 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);