updated slope chart height

This commit is contained in:
pvictor 2024-05-13 11:52:39 +02:00
parent b313b45989
commit 58723475cb
1 changed files with 3 additions and 2 deletions

View File

@ -343,12 +343,13 @@ apex(life_expec, aes(country, x = `1972`, xend = `2007`), type = "dumbbell") %>%
Create a slope chart with:
```{r slope}
data("life_expec", package = "apexcharter")
data("life_expec_long", package = "apexcharter")
apex(
life_expec_long,
mapping = aes(x = as.character(year), y = lifeExp, fill = country),
type = "slope"
type = "slope",
height = "700px"
) %>%
ax_colors("#112466") %>%
ax_labs(