function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 13], ['Birkhaeuser Verlag', 9], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Candollea', 6], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 9], ['Flora Helvetica', 7], ['Info Flora Schweiz', 9], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 9], ['Phytotaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=76)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);