function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia: Recueil d\'Observations Botaniques', 10], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 40], ['Bulletin of the British Museum (Natural History), Botany Series', 8], ['J. Cramer', 9], ['Journal of the Arnold Arboretum', 1], ['Notizblatt des Botanischen Gartens und Museums zu Berlin-Dahlem', 2], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 2], ['Order out of Chaos. Linnaean Plant Types and their Types', 1], ['PhytoKeys', 1], ['Phytotaxa', 1], ['Taylor & Francis', 2], ['Transactions of the Linnean Society of London, Second Series. Botany', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', 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);