Code
# install.packages(c("eurostat","plotly"))
library(eurostat)
library(plotly)Young Greeks live with their parents for a long time: longer than young people almost anywhere else in Europe. This data story puts numbers on it, with five questions:
The data come from Eurostat, the statistical office of the EU, and from two of the surveys of households that it runs with the statistical offices of the countries: the Labour Force Survey, from which Eurostat estimates the average age at which young people leave the household of their parents, and the survey on income and living conditions (EU-SILC), which says who lives with their parents, what they do, and how much of a household’s income its housing takes. They are downloaded when the page is rendered, so a new render brings in the latest year.
# a Eurostat dataset, without its missing values; the year as a number
eurostat_values<-function(id,filters) {
x<-get_eurostat(id,filters=filters,time_format="num",cache=FALSE)
result<-as.data.frame(x[!is.na(x$values),])
return(result)
}
# the names of the countries in English
country_name<-c(setNames(eu_countries$name,eu_countries$code),
setNames(efta_countries$name,efta_countries$code),
setNames(eu_candidate_countries$name,eu_candidate_countries$code),
UK="United Kingdom",EU27_2020="EU")
# the label of the EU's row in the chart of the countries
row_name<-country_name
row_name[["EU27_2020"]]<-"EU (average)"
eu<-eu_countries$code
# the estimated average age at which young people leave the household of their parents, by sex,
# every year since 2000 (Labour Force Survey). The whole table, with its flags: "b" marks a break
# in a series, where the survey changed. Flags come only without filters, and the year is then
# called TIME_PERIOD
leaving<-as.data.frame(get_eurostat("yth_demo_030",time_format="num",keepFlags=TRUE,cache=FALSE))
leaving<-leaving[!is.na(leaving$values),]
names(leaving)[names(leaving)=="TIME_PERIOD"]<-"time"
last<-max(leaving$time)
breaks<-sort(unique(leaving$time[leaving$geo=="EL"&leaving$flags%in%"b"]))
age_of<-function(geo,sex="T",year=last) {
result<-leaving$values[leaving$geo==geo&leaving$sex==sex&leaving$time==year]
return(result)
}
# the countries of the last year, from the latest to leave to the earliest, with both sexes
latest<-leaving[leaving$time==last&leaving$geo!="EA21",]
countries<-reshape(latest[,c("geo","sex","values")],idvar="geo",timevar="sex",direction="wide")
names(countries)<-c("geo","women","men","all")[match(names(countries),
c("geo","values.F","values.M","values.T"))]
countries<-countries[order(countries$all),]
countries$name<-country_name[countries$geo]
countries$row<-row_name[countries$geo]
# the place of Greece among the countries of the EU: 1 for the latest to leave; countries with
# the same age share a place
eu_ages<-countries[countries$geo%in%eu,]
place<-function(geo,column) {
result<-sum(eu_ages[[column]]>eu_ages[[column]][eu_ages$geo==geo])+1
return(result)
}
tied<-function(geo,column) {
result<-eu_ages$name[eu_ages[[column]]==eu_ages[[column]][eu_ages$geo==geo]&eu_ages$geo!=geo]
return(result)
}
# Greece and the EU over the years; the EU's series starts in 2002
history<-leaving[leaving$geo%in%c("EL","EU27_2020"),]
greek_place<-sapply(sort(unique(leaving$time)),function(year) {
x<-leaving[leaving$time==year&leaving$sex=="T"&leaving$geo%in%eu,]
return(sum(x$values>x$values[x$geo=="EL"])+1)
})
names(greek_place)<-sort(unique(leaving$time))
# the share of young adults living with their parents, by age and sex (EU-SILC)
with_parents<-eurostat_values("ilc_lvps08",list(geo=c("EL","EU27_2020"),
age=c("Y18-24","Y25-29","Y25-34")))
share_of<-function(geo,age="Y25-34",sex="T",year=max(with_parents$time)) {
result<-with_parents$values[with_parents$geo==geo&with_parents$age==age&
with_parents$sex==sex&with_parents$time==year]
return(result)
}
silc_last<-max(with_parents$time)
# what the young adults who live with their parents do: the shares of those aged 25 to 34 in
# education, in a full-time or a part-time job, unemployed, or otherwise out of work (EU-SILC)
status<-eurostat_values("ilc_lvps09",list(age="Y25-34",geo=c("EL","EU27_2020")))
status_last<-max(status$time)
status<-status[status$time==status_last,]
doing_of<-function(geo,what) {
result<-sum(status$values[status$geo==geo&status$wstatus%in%what])
return(result)
}
# the unemployment rate of the young, 15 to 24 (Labour Force Survey)
jobless<-eurostat_values("une_rt_a",list(geo=c("EL","EU27_2020"),age="Y15-24",sex="T",
unit="PC_ACT"))
# the share of people living in a household whose housing costs more than 40% of its income,
# by age (EU-SILC)
burden<-eurostat_values("ilc_lvho07a",list(sex="T",rskpovth="TOTAL",age=c("Y15-29","TOTAL")))
burden_last<-max(burden$time)
burden_of<-function(geo,age="Y15-29",year=burden_last) {
result<-burden$values[burden$geo==geo&burden$age==age&burden$time==year]
return(result)
}
young_burden<-burden[burden$age=="Y15-29"&burden$time==burden_last&burden$geo%in%eu,]
young_burden<-young_burden[order(-young_burden$values),]greek_red<-"#d62728"
blue<-"#1f77b4"
gray<-"#9e9e9e"
light_gray<-"#ececec"
dark_gray<-"#6b6b6b" # also the color of the notes and the labels
# women and men, as on the page of fertility
sex_colours<-c(Women="#E74C3C",Men="#0082c8")
# the source of a chart, as a note under it, and the common layout
chart<-function(p,title,source,y_title="",y_axis=list(),x_axis=list(),annotations=list(),
margin=list(t=70,b=90),note_y=-0.16,...) {
note<-list(text=paste("Source:",source),xref="paper",yref="paper",x=0,y=note_y,xanchor="left",
yanchor="top",align="left",showarrow=FALSE,font=list(size=11,color=dark_gray))
result<-layout(p,
title=list(text=title,x=0.02,xanchor="left",y=0.97,yanchor="top"),
yaxis=modifyList(list(title=y_title),y_axis),
xaxis=modifyList(list(title=""),x_axis),
margin=margin,
annotations=c(annotations,list(note)),
...) %>%
config(displaylogo=FALSE)
return(result)
}
legend_top<-list(orientation="h",x=0,y=1.02,yanchor="bottom")
# short labels of numbers, places and lists
one<-function(x) {
result<-format(round(x,1),nsmall=1,trim=TRUE)
return(result)
}
percent<-function(x) {
result<-paste0(round(x),"%")
return(result)
}
ordinal<-function(n) {
suffix<-ifelse(n%%100%in%11:13,"th",c("th","st","nd","rd",rep("th",6))[n%%10+1])
result<-paste0(n,suffix)
return(result)
}
and_list<-function(x) {
result<-if(length(x)<2) paste(x) else paste(paste(x[-length(x)],collapse=", "),"and",
x[length(x)])
return(result)
}
# "the 2nd latest", or "joint 2nd latest" when other countries have the same age, and the names of
# those countries
place_text<-function(geo,column) {
joint<-length(tied(geo,column))>0
result<-paste(if(joint) "joint" else "the",ordinal(place(geo,column)),"latest")
return(result)
}
tie_text<-function(geo,column) {
others<-tied(geo,column)
result<-if(length(others)==0) "" else paste0(", with ",and_list(others),",")
return(result)
}Late in the south and the east, early in the north. In 2025 the young people of the EU left the household of their parents at 26.3 on average, Eurostat estimates. Greece came joint 2nd latest of the 27 countries of the EU, with Slovakia, at 30.9; the latest was Croatia, at 31.5, and the earliest Finland, at 21.3.
Women leave earlier than men in every country of the EU but Malta. In Greece the gap is 2.8 years: women leave at 29.4, men at 32.2, joint 2nd latest of the EU, with Slovakia.
countries$label<-ifelse(countries$geo=="EL",paste0("<b>",countries$row,"</b>"),countries$row)
countries$label<-factor(countries$label,levels=countries$label)
plot_ly(countries,y=~label) %>%
add_segments(x=~women,xend=~men,yend=~label,line=list(color=gray,width=2),hoverinfo="skip",
showlegend=FALSE) %>%
add_markers(x=~women,name="Women",marker=list(color=sex_colours[["Women"]],size=9),
hovertemplate="%{y}, women: %{x:.1f}<extra></extra>") %>%
add_markers(x=~men,name="Men",marker=list(color=sex_colours[["Men"]],size=9),
hovertemplate="%{y}, men: %{x:.1f}<extra></extra>") %>%
chart(paste0("The age of leaving home, ",last),
"Eurostat, yth_demo_030 (Labour Force Survey).",
y_axis=list(title="",tickfont=list(size=11)),
shapes=list(list(type="rect",xref="paper",x0=0,x1=1,yref="y",
y0=match("EL",countries$geo)-1.5,y1=match("EL",countries$geo)-0.5,
fillcolor=light_gray,line=list(width=0),layer="below")),
legend=legend_top,margin=list(t=100,b=90,l=150),note_y=-0.08)first<-min(history$time[history$geo=="EL"])
eu_first<-min(history$time[history$geo=="EU27_2020"])
before_crisis<-mean(sapply(2005:2009,function(year) age_of("EL",year=year)))
after_break<-min(breaks[breaks>=2015])
# the break of that year is in the series of every country
everywhere<-all(unique(leaving$geo[leaving$time==after_break])%in%
leaving$geo[leaving$time==after_break&leaving$flags%in%"b"])
jump<-age_of("EL",year=after_break)-age_of("EL",year=after_break-1)
eu_jump<-age_of("EU27_2020",year=after_break)-age_of("EU27_2020",year=after_break-1)Yes: Greeks leave home later since the debt crisis, while the EU’s average has hardly moved. In 2005–2009 young Greeks left home at 28.4 on average, and in 2009 Greece was only the 11th latest of the EU; in 2025 they left at 30.9. The EU’s average went from 26.5 in 2002 to 26.3 in 2025.
The age rose in two steps: during the crisis, to 29.4 in 2015, and in 2021, by 1.1 years in one year. In 2021 the Labour Force Survey changed its rules in every country (Eurostat marks a break in all its series that year), so part of that step may come from the survey rather than from the young; but the EU’s average moved by only 0.2 years then, and the Greek age has stayed high since.
lines<-list(list(geo="EL",sex="F",name="Greece, women",dash="solid"),
list(geo="EL",sex="M",name="Greece, men",dash="solid"),
list(geo="EU27_2020",sex="F",name="EU, women",dash="dot"),
list(geo="EU27_2020",sex="M",name="EU, men",dash="dot"))
p<-plot_ly()
for(l in lines) {
x<-history[history$geo==l$geo&history$sex==l$sex,]
x<-x[order(x$time),]
colour<-sex_colours[[if(l$sex=="F") "Women" else "Men"]]
p<-p %>%
add_trace(x=x$time,y=x$values,type="scatter",mode="lines+markers",name=l$name,
line=list(color=colour,width=2.5,dash=l$dash),marker=list(color=colour,size=5),
hovertemplate=paste0(l$name,", %{x}: %{y:.1f}<extra></extra>"))
}
p %>%
chart("The age of leaving home, Greece and the EU",
"Eurostat, yth_demo_030. The dotted vertical line: the survey changed its rules.",
"years of age",legend=legend_top,margin=list(t=110,b=90),
shapes=list(list(type="line",x0=after_break-0.5,x1=after_break-0.5,yref="paper",y0=0,
y1=1,line=list(color=dark_gray,width=1,dash="dot"))))More than half of Greeks aged 25 to 34. In 2025, 56% of them lived with their parents, against 30% in the EU: 49% of the women and 63% of the men. In 2003 the share was 43%; it rose through the crisis to 61% in 2021.
p<-plot_ly()
for(geo in c("EL","EU27_2020")) {
x<-with_parents[with_parents$geo==geo&with_parents$age=="Y25-34"&with_parents$sex=="T",]
x<-x[order(x$time),]
colour<-if(geo=="EL") greek_red else blue
p<-p %>%
add_trace(x=x$time,y=x$values,type="scatter",mode="lines+markers",name=country_name[[geo]],
line=list(color=colour,width=2.5),marker=list(color=colour,size=5),
hovertemplate=paste0(country_name[[geo]],", %{x}: %{y:.1f}%<extra></extra>"))
}
p %>%
chart("Aged 25 to 34 and living with their parents, %",
"Eurostat, ilc_lvps08 (EU-SILC). The EU's series starts in 2010.","%",
y_axis=list(rangemode="tozero"),legend=legend_top,margin=list(t=100,b=90))Not most of them: most of them work. Of the Greeks aged 25 to 34 who lived with their parents in 2025, 65% had a full-time job and 6% a part-time one; 15% were unemployed, against 11% in the EU.
activities<-c(EMP_FT="Full-time job",EMP_PT="Part-time job",UNE="Unemployed",EDUC="In education",
INAC_OTH="Other, out of work")
p<-plot_ly()
for(geo in c("EU27_2020","EL")) {
x<-status[status$geo==geo,]
x<-x[match(names(activities),x$wstatus),]
p<-p %>%
add_trace(y=factor(activities,levels=rev(activities)),x=x$values,type="bar",
orientation="h",name=country_name[[geo]],
marker=list(color=if(geo=="EL") greek_red else blue),
hovertemplate=paste0(country_name[[geo]],", %{y}: %{x:.1f}%<extra></extra>"))
}
p %>%
chart(paste0("What they do, ",status_last,", %"),
"Eurostat, ilc_lvps09 (EU-SILC): those aged 25 to 34 who live with their parents.",
x_axis=list(ticksuffix="%"),barmode="group",
legend=c(legend_top,list(traceorder="reversed")),margin=list(t=100,b=80,l=130))Jobs came back, too. In 2013, at the worst of the crisis, 59% of the young Greeks aged 15 to 24 who worked or looked for work had no job; in 2025, 19%. Yet the age of leaving home did not fall.
For many it is. A household is overburdened by its housing when the rent or the mortgage interest, the bills and the upkeep take more than 40% of its income. In 2025, 26% of young Greeks aged 15 to 29 lived in such a household, the highest share in the EU, against 9% in the EU as a whole.
p<-plot_ly()
for(geo in c("EL","EU27_2020")) {
x<-burden[burden$geo==geo&burden$age=="Y15-29",]
x<-x[order(x$time),]
colour<-if(geo=="EL") greek_red else blue
p<-p %>%
add_trace(x=x$time,y=x$values,type="scatter",mode="lines+markers",name=country_name[[geo]],
line=list(color=colour,width=2.5),marker=list(color=colour,size=5),
hovertemplate=paste0(country_name[[geo]],", %{x}: %{y:.1f}%<extra></extra>"))
}
p %>%
chart("Overburdened by housing costs, aged 15 to 29, %",
"Eurostat, ilc_lvho07a (EU-SILC): housing costs above 40% of the household's income.",
"%",y_axis=list(rangemode="tozero"),legend=legend_top,margin=list(t=100,b=90))The share has fallen since the worst years of the crisis, but it is still far above the EU’s; and since 2015 house prices in Greece have grown much faster than incomes (see the Greek Housing Race).
Young Greeks leave home late, and later than before the crisis.
What this does not show. The surveys count households, not reasons: they cannot say whether young people stay because they cannot afford to leave, or because they choose to. The average age is Eurostat’s estimate, not a count, and the Greek series has breaks where the survey changed, in 2004, 2009 and 2021.
Rendered with R 4.6.2 · eurostat · plotly
---
title: "When Do Young Greeks Leave Home? Living With Parents in Greece and Europe"
description: "Eurostat's estimates of the age at which young people leave their parents' home, by country and sex since 2000: where Greece stands in Europe, how it changed after the debt crisis, how many Greeks in their late twenties and early thirties still live with their parents, what they do, and what their housing costs."
author: ""
---
```{r setup, include=FALSE}
directory<-""
if(rstudioapi::isAvailable())
directory<-paste0(dirname(rstudioapi::getActiveDocumentContext()$path),"/")
source(paste0(directory,"R/code_options.R"))
```
## What is this?
Young Greeks live with their parents for a long time: longer than young people almost anywhere else in Europe. This data story puts numbers on it, with five questions:
1. **At what age do young Europeans leave home?**
2. **Has it changed in Greece?**
3. **How many young adults live with their parents?**
4. **Do they stay because they have no job?**
5. **Is housing too expensive for them?**
The data come from **Eurostat**, the statistical office of the EU, and from two of the surveys of households that it runs with the statistical offices of the countries: the **Labour Force Survey**, from which Eurostat estimates the average age at which young people leave the household of their parents, and the **survey on income and living conditions** (EU-SILC), which says who lives with their parents, what they do, and how much of a household's income its housing takes. They are downloaded when the page is rendered, so a new render brings in the latest year.
---
## Packages
```{r packages}
# install.packages(c("eurostat","plotly"))
library(eurostat)
library(plotly)
```
## The data
```{r data}
# a Eurostat dataset, without its missing values; the year as a number
eurostat_values<-function(id,filters) {
x<-get_eurostat(id,filters=filters,time_format="num",cache=FALSE)
result<-as.data.frame(x[!is.na(x$values),])
return(result)
}
# the names of the countries in English
country_name<-c(setNames(eu_countries$name,eu_countries$code),
setNames(efta_countries$name,efta_countries$code),
setNames(eu_candidate_countries$name,eu_candidate_countries$code),
UK="United Kingdom",EU27_2020="EU")
# the label of the EU's row in the chart of the countries
row_name<-country_name
row_name[["EU27_2020"]]<-"EU (average)"
eu<-eu_countries$code
# the estimated average age at which young people leave the household of their parents, by sex,
# every year since 2000 (Labour Force Survey). The whole table, with its flags: "b" marks a break
# in a series, where the survey changed. Flags come only without filters, and the year is then
# called TIME_PERIOD
leaving<-as.data.frame(get_eurostat("yth_demo_030",time_format="num",keepFlags=TRUE,cache=FALSE))
leaving<-leaving[!is.na(leaving$values),]
names(leaving)[names(leaving)=="TIME_PERIOD"]<-"time"
last<-max(leaving$time)
breaks<-sort(unique(leaving$time[leaving$geo=="EL"&leaving$flags%in%"b"]))
age_of<-function(geo,sex="T",year=last) {
result<-leaving$values[leaving$geo==geo&leaving$sex==sex&leaving$time==year]
return(result)
}
# the countries of the last year, from the latest to leave to the earliest, with both sexes
latest<-leaving[leaving$time==last&leaving$geo!="EA21",]
countries<-reshape(latest[,c("geo","sex","values")],idvar="geo",timevar="sex",direction="wide")
names(countries)<-c("geo","women","men","all")[match(names(countries),
c("geo","values.F","values.M","values.T"))]
countries<-countries[order(countries$all),]
countries$name<-country_name[countries$geo]
countries$row<-row_name[countries$geo]
# the place of Greece among the countries of the EU: 1 for the latest to leave; countries with
# the same age share a place
eu_ages<-countries[countries$geo%in%eu,]
place<-function(geo,column) {
result<-sum(eu_ages[[column]]>eu_ages[[column]][eu_ages$geo==geo])+1
return(result)
}
tied<-function(geo,column) {
result<-eu_ages$name[eu_ages[[column]]==eu_ages[[column]][eu_ages$geo==geo]&eu_ages$geo!=geo]
return(result)
}
# Greece and the EU over the years; the EU's series starts in 2002
history<-leaving[leaving$geo%in%c("EL","EU27_2020"),]
greek_place<-sapply(sort(unique(leaving$time)),function(year) {
x<-leaving[leaving$time==year&leaving$sex=="T"&leaving$geo%in%eu,]
return(sum(x$values>x$values[x$geo=="EL"])+1)
})
names(greek_place)<-sort(unique(leaving$time))
# the share of young adults living with their parents, by age and sex (EU-SILC)
with_parents<-eurostat_values("ilc_lvps08",list(geo=c("EL","EU27_2020"),
age=c("Y18-24","Y25-29","Y25-34")))
share_of<-function(geo,age="Y25-34",sex="T",year=max(with_parents$time)) {
result<-with_parents$values[with_parents$geo==geo&with_parents$age==age&
with_parents$sex==sex&with_parents$time==year]
return(result)
}
silc_last<-max(with_parents$time)
# what the young adults who live with their parents do: the shares of those aged 25 to 34 in
# education, in a full-time or a part-time job, unemployed, or otherwise out of work (EU-SILC)
status<-eurostat_values("ilc_lvps09",list(age="Y25-34",geo=c("EL","EU27_2020")))
status_last<-max(status$time)
status<-status[status$time==status_last,]
doing_of<-function(geo,what) {
result<-sum(status$values[status$geo==geo&status$wstatus%in%what])
return(result)
}
# the unemployment rate of the young, 15 to 24 (Labour Force Survey)
jobless<-eurostat_values("une_rt_a",list(geo=c("EL","EU27_2020"),age="Y15-24",sex="T",
unit="PC_ACT"))
# the share of people living in a household whose housing costs more than 40% of its income,
# by age (EU-SILC)
burden<-eurostat_values("ilc_lvho07a",list(sex="T",rskpovth="TOTAL",age=c("Y15-29","TOTAL")))
burden_last<-max(burden$time)
burden_of<-function(geo,age="Y15-29",year=burden_last) {
result<-burden$values[burden$geo==geo&burden$age==age&burden$time==year]
return(result)
}
young_burden<-burden[burden$age=="Y15-29"&burden$time==burden_last&burden$geo%in%eu,]
young_burden<-young_burden[order(-young_burden$values),]
```
```{r chart_style}
greek_red<-"#d62728"
blue<-"#1f77b4"
gray<-"#9e9e9e"
light_gray<-"#ececec"
dark_gray<-"#6b6b6b" # also the color of the notes and the labels
# women and men, as on the page of fertility
sex_colours<-c(Women="#E74C3C",Men="#0082c8")
# the source of a chart, as a note under it, and the common layout
chart<-function(p,title,source,y_title="",y_axis=list(),x_axis=list(),annotations=list(),
margin=list(t=70,b=90),note_y=-0.16,...) {
note<-list(text=paste("Source:",source),xref="paper",yref="paper",x=0,y=note_y,xanchor="left",
yanchor="top",align="left",showarrow=FALSE,font=list(size=11,color=dark_gray))
result<-layout(p,
title=list(text=title,x=0.02,xanchor="left",y=0.97,yanchor="top"),
yaxis=modifyList(list(title=y_title),y_axis),
xaxis=modifyList(list(title=""),x_axis),
margin=margin,
annotations=c(annotations,list(note)),
...) %>%
config(displaylogo=FALSE)
return(result)
}
legend_top<-list(orientation="h",x=0,y=1.02,yanchor="bottom")
# short labels of numbers, places and lists
one<-function(x) {
result<-format(round(x,1),nsmall=1,trim=TRUE)
return(result)
}
percent<-function(x) {
result<-paste0(round(x),"%")
return(result)
}
ordinal<-function(n) {
suffix<-ifelse(n%%100%in%11:13,"th",c("th","st","nd","rd",rep("th",6))[n%%10+1])
result<-paste0(n,suffix)
return(result)
}
and_list<-function(x) {
result<-if(length(x)<2) paste(x) else paste(paste(x[-length(x)],collapse=", "),"and",
x[length(x)])
return(result)
}
# "the 2nd latest", or "joint 2nd latest" when other countries have the same age, and the names of
# those countries
place_text<-function(geo,column) {
joint<-length(tied(geo,column))>0
result<-paste(if(joint) "joint" else "the",ordinal(place(geo,column)),"latest")
return(result)
}
tie_text<-function(geo,column) {
others<-tied(geo,column)
result<-if(length(others)==0) "" else paste0(", with ",and_list(others),",")
return(result)
}
```
---
## 1. At what age do young Europeans leave home?
**Late in the south and the east, early in the north.** In `r last` the young people of the EU left the household of their parents at `r one(age_of("EU27_2020"))` on average, Eurostat estimates. Greece came `r place_text("EL","all")` of the `r nrow(eu_ages)` countries of the EU`r tie_text("EL","all")` at **`r one(age_of("EL"))`**; the latest was `r eu_ages$name[which.max(eu_ages$all)]`, at `r one(max(eu_ages$all))`, and the earliest `r eu_ages$name[which.min(eu_ages$all)]`, at `r one(min(eu_ages$all))`.
Women leave earlier than men in every country of the EU`r if(any(eu_ages$women>=eu_ages$men)) paste(" but",and_list(eu_ages$name[eu_ages$women>=eu_ages$men])) else ""`. In Greece the gap is `r one(age_of("EL","M")-age_of("EL","F"))` years: women leave at `r one(age_of("EL","F"))`, men at `r one(age_of("EL","M"))`, `r place_text("EL","men")` of the EU`r sub(",$","",tie_text("EL","men"))`.
```{r countries, fig.height = 8.5}
#| fig-alt: "Dot plot of the average age at which young people leave their parents' home in each European country, women and men, with Greece among the latest"
countries$label<-ifelse(countries$geo=="EL",paste0("<b>",countries$row,"</b>"),countries$row)
countries$label<-factor(countries$label,levels=countries$label)
plot_ly(countries,y=~label) %>%
add_segments(x=~women,xend=~men,yend=~label,line=list(color=gray,width=2),hoverinfo="skip",
showlegend=FALSE) %>%
add_markers(x=~women,name="Women",marker=list(color=sex_colours[["Women"]],size=9),
hovertemplate="%{y}, women: %{x:.1f}<extra></extra>") %>%
add_markers(x=~men,name="Men",marker=list(color=sex_colours[["Men"]],size=9),
hovertemplate="%{y}, men: %{x:.1f}<extra></extra>") %>%
chart(paste0("The age of leaving home, ",last),
"Eurostat, yth_demo_030 (Labour Force Survey).",
y_axis=list(title="",tickfont=list(size=11)),
shapes=list(list(type="rect",xref="paper",x0=0,x1=1,yref="y",
y0=match("EL",countries$geo)-1.5,y1=match("EL",countries$geo)-0.5,
fillcolor=light_gray,line=list(width=0),layer="below")),
legend=legend_top,margin=list(t=100,b=90,l=150),note_y=-0.08)
```
---
## 2. Has it changed in Greece?
```{r change_numbers}
first<-min(history$time[history$geo=="EL"])
eu_first<-min(history$time[history$geo=="EU27_2020"])
before_crisis<-mean(sapply(2005:2009,function(year) age_of("EL",year=year)))
after_break<-min(breaks[breaks>=2015])
# the break of that year is in the series of every country
everywhere<-all(unique(leaving$geo[leaving$time==after_break])%in%
leaving$geo[leaving$time==after_break&leaving$flags%in%"b"])
jump<-age_of("EL",year=after_break)-age_of("EL",year=after_break-1)
eu_jump<-age_of("EU27_2020",year=after_break)-age_of("EU27_2020",year=after_break-1)
```
**Yes: Greeks leave home later since the debt crisis, while the EU's average has hardly moved.** In 2005–2009 young Greeks left home at `r one(before_crisis)` on average, and in 2009 Greece was only the `r ordinal(greek_place[["2009"]])` latest of the EU; in `r last` they left at `r one(age_of("EL"))`. The EU's average went from `r one(age_of("EU27_2020",year=eu_first))` in `r eu_first` to `r one(age_of("EU27_2020"))` in `r last`.
The age rose in two steps: during the crisis, to `r one(age_of("EL",year=2015))` in 2015, and in `r after_break`, by `r one(jump)` years in one year. In `r after_break` the Labour Force Survey changed its rules`r if(everywhere) " in every country (Eurostat marks a break in all its series that year)" else ""`, so part of that step may come from the survey rather than from the young; but the EU's average moved by only `r one(abs(eu_jump))` years then, and the Greek age has stayed high since.
```{r greece}
#| fig-alt: "Line chart of the average age at which young people leave home in Greece and in the EU since 2000, women and men; Greece rises after 2010"
lines<-list(list(geo="EL",sex="F",name="Greece, women",dash="solid"),
list(geo="EL",sex="M",name="Greece, men",dash="solid"),
list(geo="EU27_2020",sex="F",name="EU, women",dash="dot"),
list(geo="EU27_2020",sex="M",name="EU, men",dash="dot"))
p<-plot_ly()
for(l in lines) {
x<-history[history$geo==l$geo&history$sex==l$sex,]
x<-x[order(x$time),]
colour<-sex_colours[[if(l$sex=="F") "Women" else "Men"]]
p<-p %>%
add_trace(x=x$time,y=x$values,type="scatter",mode="lines+markers",name=l$name,
line=list(color=colour,width=2.5,dash=l$dash),marker=list(color=colour,size=5),
hovertemplate=paste0(l$name,", %{x}: %{y:.1f}<extra></extra>"))
}
p %>%
chart("The age of leaving home, Greece and the EU",
"Eurostat, yth_demo_030. The dotted vertical line: the survey changed its rules.",
"years of age",legend=legend_top,margin=list(t=110,b=90),
shapes=list(list(type="line",x0=after_break-0.5,x1=after_break-0.5,yref="paper",y0=0,
y1=1,line=list(color=dark_gray,width=1,dash="dot"))))
```
---
## 3. How many young adults live with their parents?
```{r share_numbers}
peak<-with_parents[with_parents$geo=="EL"&with_parents$age=="Y25-34"&with_parents$sex=="T",]
peak<-peak[which.max(peak$values),]
silc_first<-min(with_parents$time[with_parents$geo=="EL"])
```
**More than half of Greeks aged 25 to 34.** In `r silc_last`, `r percent(share_of("EL"))` of them lived with their parents, against `r percent(share_of("EU27_2020"))` in the EU: `r percent(share_of("EL",sex="F"))` of the women and `r percent(share_of("EL",sex="M"))` of the men. In `r silc_first` the share was `r percent(share_of("EL",year=silc_first))`; it rose through the crisis to `r percent(peak$values)` in `r peak$time`.
```{r shares}
#| fig-alt: "Line chart of the share of people aged 25 to 34 living with their parents in Greece and in the EU, Greece far above"
p<-plot_ly()
for(geo in c("EL","EU27_2020")) {
x<-with_parents[with_parents$geo==geo&with_parents$age=="Y25-34"&with_parents$sex=="T",]
x<-x[order(x$time),]
colour<-if(geo=="EL") greek_red else blue
p<-p %>%
add_trace(x=x$time,y=x$values,type="scatter",mode="lines+markers",name=country_name[[geo]],
line=list(color=colour,width=2.5),marker=list(color=colour,size=5),
hovertemplate=paste0(country_name[[geo]],", %{x}: %{y:.1f}%<extra></extra>"))
}
p %>%
chart("Aged 25 to 34 and living with their parents, %",
"Eurostat, ilc_lvps08 (EU-SILC). The EU's series starts in 2010.","%",
y_axis=list(rangemode="tozero"),legend=legend_top,margin=list(t=100,b=90))
```
---
## 4. Do they stay because they have no job?
**Not most of them: most of them work.** Of the Greeks aged 25 to 34 who lived with their parents in `r status_last`, `r percent(doing_of("EL","EMP_FT"))` had a full-time job and `r percent(doing_of("EL","EMP_PT"))` a part-time one; `r percent(doing_of("EL","UNE"))` were unemployed, against `r percent(doing_of("EU27_2020","UNE"))` in the EU.
```{r status}
#| fig-alt: "Bar chart of what the people aged 25 to 34 who live with their parents do, in Greece and in the EU: most work full time"
activities<-c(EMP_FT="Full-time job",EMP_PT="Part-time job",UNE="Unemployed",EDUC="In education",
INAC_OTH="Other, out of work")
p<-plot_ly()
for(geo in c("EU27_2020","EL")) {
x<-status[status$geo==geo,]
x<-x[match(names(activities),x$wstatus),]
p<-p %>%
add_trace(y=factor(activities,levels=rev(activities)),x=x$values,type="bar",
orientation="h",name=country_name[[geo]],
marker=list(color=if(geo=="EL") greek_red else blue),
hovertemplate=paste0(country_name[[geo]],", %{y}: %{x:.1f}%<extra></extra>"))
}
p %>%
chart(paste0("What they do, ",status_last,", %"),
"Eurostat, ilc_lvps09 (EU-SILC): those aged 25 to 34 who live with their parents.",
x_axis=list(ticksuffix="%"),barmode="group",
legend=c(legend_top,list(traceorder="reversed")),margin=list(t=100,b=80,l=130))
```
```{r jobless_numbers}
greek_jobless<-jobless[jobless$geo=="EL",]
worst<-greek_jobless[which.max(greek_jobless$values),]
jobless_last<-max(greek_jobless$time)
```
Jobs came back, too. In `r worst$time`, at the worst of the crisis, `r percent(worst$values)` of the young Greeks aged 15 to 24 who worked or looked for work had no job; in `r jobless_last`, `r percent(greek_jobless$values[greek_jobless$time==jobless_last])`. Yet the age of leaving home did not fall.
---
## 5. Is housing too expensive for them?
**For many it is.** A household is *overburdened* by its housing when the rent or the mortgage interest, the bills and the upkeep take more than 40% of its income. In `r burden_last`, `r percent(burden_of("EL"))` of young Greeks aged 15 to 29 lived in such a household, `r if(young_burden$geo[1]=="EL") "the highest share in the EU" else paste("the",ordinal(match("EL",young_burden$geo)),"highest share in the EU")`, against `r percent(burden_of("EU27_2020"))` in the EU as a whole.
```{r burden}
#| fig-alt: "Line chart of the share of people aged 15 to 29 living in a household whose housing costs take more than 40% of its income, in Greece and in the EU"
p<-plot_ly()
for(geo in c("EL","EU27_2020")) {
x<-burden[burden$geo==geo&burden$age=="Y15-29",]
x<-x[order(x$time),]
colour<-if(geo=="EL") greek_red else blue
p<-p %>%
add_trace(x=x$time,y=x$values,type="scatter",mode="lines+markers",name=country_name[[geo]],
line=list(color=colour,width=2.5),marker=list(color=colour,size=5),
hovertemplate=paste0(country_name[[geo]],", %{x}: %{y:.1f}%<extra></extra>"))
}
p %>%
chart("Overburdened by housing costs, aged 15 to 29, %",
"Eurostat, ilc_lvho07a (EU-SILC): housing costs above 40% of the household's income.",
"%",y_axis=list(rangemode="tozero"),legend=legend_top,margin=list(t=100,b=90))
```
The share has fallen since the worst years of the crisis, but it is still far above the EU's; and since 2015 house prices in Greece have grown much faster than incomes (see the [Greek Housing Race](ILLUSTRATION_GREEK_HOUSING.html)).
---
## So, what does it mean?
**Young Greeks leave home late, and later than before the crisis.**
1. **Among the latest in Europe**: at `r one(age_of("EL"))` on average in `r last`, against `r one(age_of("EU27_2020"))` in the EU; men at `r one(age_of("EL","M"))`, women at `r one(age_of("EL","F"))`.
2. **Later than before the crisis**: from `r one(before_crisis)` in 2005–2009.
3. **More than half of those aged 25 to 34 live with their parents**: `r percent(share_of("EL"))`, against `r percent(share_of("EU27_2020"))` in the EU.
4. **Most of them work**: `r percent(doing_of("EL",c("EMP_FT","EMP_PT")))` have a job.
5. **Housing weighs heavily**: `r percent(burden_of("EL"))` of young Greeks live in a household overburdened by its housing costs, against `r percent(burden_of("EU27_2020"))` in the EU.
**What this does not show.** The surveys count households, not reasons: they cannot say whether young people stay because they cannot afford to leave, or because they choose to. The average age is Eurostat's estimate, not a count, and the Greek series has breaks where the survey changed, in `r and_list(breaks)`.
---
## Sources
- Eurostat, [Estimated average age of young people leaving the parental household by sex](https://ec.europa.eu/eurostat/databrowser/view/yth_demo_030/default/table?lang=en) (yth_demo_030), from the EU Labour Force Survey.
- Eurostat, [Share of young adults aged 18-34 living with their parents by age and sex](https://ec.europa.eu/eurostat/databrowser/view/ilc_lvps08/default/table?lang=en) (ilc_lvps08), and [by self-defined current economic status](https://ec.europa.eu/eurostat/databrowser/view/ilc_lvps09/default/table?lang=en) (ilc_lvps09), from EU-SILC.
- Eurostat, [Housing cost overburden rate by age, sex and poverty status](https://ec.europa.eu/eurostat/databrowser/view/ilc_lvho07a/default/table?lang=en) (ilc_lvho07a), from EU-SILC.
- Eurostat, [Unemployment by sex and age, annual data](https://ec.europa.eu/eurostat/databrowser/view/une_rt_a/default/table?lang=en) (une_rt_a).
- Eurostat (30 September 2024), [Age of leaving the parental home steady in 2023](https://ec.europa.eu/eurostat/web/products-eurostat-news/w/ddn-20240930-2).
---
*Rendered with R `r getRversion()` · eurostat · plotly*