-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add #101
Comments
can't reproduce it. it works in .R env but not inside and .Rmd, and I don't understand why. here is the Rmd I wrote just in case: ---
title: "Analyzing Refugee Flows to Europe (2010-2022): An Alluvial Visualization"
descriptionMeta: "Explore a detailed alluvial visualization of refugee flows to Europe from 2010 to 2022 using R and ggsankey."
descriptionTop: "This post presents an **alluvial plot** using R and [ggsankey](package/ggsankey.html) to visualize refugee migration trends to European countries over a span of 12 years. It highlights the major regions and the number of refugees contributing to the total."
sectionText: "Alluvial Plot"
sectionLink: "package/ggsankey.html"
DataToVizText: "Data to Viz"
DataToVizLink: "data-to-viz.com/graph/alluvial.html"
url: "web-combine-sankey-and-bump-charts-in-R"
output:
html_document:
self_contained: false
mathjax: default
lib_dir: libs
template: template_rgg.html
css: style.css
toc: TRUE
toc_float: TRUE
toc_depth: 2
df_print: "paged"
---
```{r global options, include = FALSE}
knitr::opts_chunk$set(
warning = FALSE,
message = FALSE,
fig.align = "center"
) AboutThis post visualizes refugee migration trends to Europe from 2010 to 2022 using an alluvial plot. The data comes from the UNHCR Refugee Population Statistics Database, highlighting significant refugee movements from various countries to European nations. The plot emphasizes major refugee origins and the number of refugees over time, providing a clear picture of how global events shape migration patterns. Libraries and DataWe'll use several R packages to create this visualization:
The data is sourced directly from the TidyTuesday dataset repository and includes refugee statistics categorized by the country of origin and asylum, specifically focusing on European countries.
VisualizationWe use
Going furtherThe alluvial plot reveals crucial insights into the refugee crisis and its impact on Europe. Key events, such as conflicts in Syria and Ukraine, have significantly influenced the refugee landscape, as indicated by peaks in the chart. By visualizing these data trends, policymakers and analysts can better understand the dynamics of refugee movements and address humanitarian needs effectively. |
https://github.com/gkaramanis/tidytuesday/blob/master/2023/2023-week_34/refugees.R
The text was updated successfully, but these errors were encountered: