function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 1], ['Biodiversity Data Journal', 7], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 2], ['Check List', 1], ['Contributions from the Gray Herbarium of Harvard University.', 2], ['Linzer biologische Beiträge', 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], ['Phytotaxa', 6], ['R. Hardwicke', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=26)', 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);