function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 1], ['Allertonia', 1], ['Beiblatt zu den Botanischen Jahrbuchern', 1], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 20], ['Brittonia', 6], ['Candollea', 7], ['Icones Bogorienses', 1], ['Journal of Botany, British and Foreign, London', 4], ['Journal of the Arnold Arboretum', 4], ['Notizblatt des Botanischen Gartens und Museums zu Berlin-Dahlem', 1], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 1], ['Phytotaxa', 12], ['Proceedings of the Royal Society of Queensland', 1], ['Transactions of the Linnean Society of London, Second Series. Botany', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=65)', 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);