function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beiblatt zu den Botanischen Jahrbuchern', 1], ['Biodiversity Data Journal', 4], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Brittonia', 1], ['Gardens\' Bulletin (Singapore)', 5], ['Geodiversitas', 5], ['Laurentius Salvius', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 2], ['PhytoKeys', 1], ['Phytotaxa', 2], ['Proceedings of the Royal Society of Queensland', 1], ['Raffles Bulletin of Zoology', 1], ['Reinwardtia', 3], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=34)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);