function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 1], ['Biodiversity Data Journal', 2], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 17], ['Brittonia', 1], ['Bulletin du Jardin Botanique de Buitenzorg', 1], ['Candollea', 1], ['Check List', 2], ['Feddes Repertorium Specierum Novarum Regni Vegetabilis, Beihefte', 1], ['Notizblatt des Königlichen Botanischen Gartens und Museums zu Berlin', 1], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 3], ['Order out of Chaos. Linnaean Plant Types and their Types', 1], ['Phytotaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=46)', 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);