Open holtzy opened 1 year ago
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"
)
https://github.com/gkaramanis/tidytuesday/blob/master/2023/2023-week_34/refugees.R