function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 4], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 31], ['Hooker\'s Journal of Botany and Kew Garden Miscellany', 1], ['J. Cramer', 1], ['Journal of the Arnold Arboretum', 1], ['Kew Bulletin', 1], ['Muelleria', 6], ['Phytotaxa', 1], ['Transactions of the Linnean Society of London, Second Series. Botany', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=47)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);