Skip to main content

Who Learns Most at 15? PISA Scores of Greece, Europe and the World Since 2000

The OECD’s PISA tests of 15-year-olds in reading, mathematics and science since 2000, from the students’ data in the learningtower package and from Eurostat: who learns most, where Greece stands in the EU, who rose and who fell, girls and boys, family background, and what PISA 2025 adds.

What is this?

Every three years since 2000, the OECD has tested 15-year-olds around the world in reading, mathematics and science: its Programme for International Student Assessment, PISA. The test does not ask what students remember of their lessons, but whether they can use what they have learned on problems they have not met before. The round of 2021 was put off to 2022 by the pandemic. This story asks seven questions:

  1. Who learns most at 15?
  2. Where does Greece stand in Europe?
  3. Who rose and who fell since 2000?
  4. What happened in 2022?
  5. Do girls or boys do better?
  6. Does family background matter?
  7. What does PISA 2025 add?

The data are the OECD’s own: the scores of every student who took the test from 2000 to 2022, which the learningtower package prepares for R (Wang and others 2026), and, for 2025, the shares of students below the basic level of PISA that Eurostat publishes for the EU. They are downloaded when the page is rendered.

PISA 2025. The OECD published the results of its 2025 round on 8 September 2026. Its student data are not yet in learningtower, so the scores below stop at 2022; question 7 shows the part of 2025 that Eurostat already publishes.


Packages

Code
# install.packages(c("learningtower","eurostat","plotly"))
library(learningtower)
library(eurostat)
library(plotly)

The data

Each student answers only some of the questions, so PISA gives a student not one score but several plausible values, drawn from what their answers say about them; learningtower keeps the first. Weighted by the number of 15-year-olds that each student stands for, they give the mean score of a country. The means here differ by a point or two from those the OECD publishes, which use all the plausible values.

Code
# the students of every round of PISA in learningtower, with their scores, sex, weight and family
# background. A round is a download of 2 to 10 MB from the package's repository on GitHub; a
# download that fails is tried again
rounds<-c(2000,2003,2006,2009,2012,2015,2018,2022)
load_round<-function(year) {
  x<-NULL
  for(attempt in 1:4) {
    x<-load_student(year)
    if(!is.null(x))
      break
    Sys.sleep(10)
  }
  if(is.null(x))
    stop("Could not download the students of PISA ",year," from learningtower")
  result<-data.frame(year=year,country=as.character(x$country),sex=tolower(x$gender),
                     read=x$read,math=x$math,science=x$science,weight=x$stu_wgt,escs=x$escs)
  return(result)
}
students<-do.call(rbind,lapply(rounds,load_round))
students$country[students$country=="ROM"]<-"ROU" # Romania's code in 2000
last<-max(rounds)

# the countries of the EU; the others by the names that learningtower gives them
eu<-c(AUT="Austria",BEL="Belgium",BGR="Bulgaria",HRV="Croatia",CYP="Cyprus",CZE="Czechia",
      DNK="Denmark",EST="Estonia",FIN="Finland",FRA="France",DEU="Germany",GRC="Greece",
      HUN="Hungary",IRL="Ireland",ITA="Italy",LVA="Latvia",LTU="Lithuania",LUX="Luxembourg",
      MLT="Malta",NLD="Netherlands",POL="Poland",PRT="Portugal",ROU="Romania",SVK="Slovakia",
      SVN="Slovenia",ESP="Spain",SWE="Sweden")
country_name<-c(eu,setNames(countrycode$country_name,countrycode$country))

# the mean score of a group of students, each counted with their weight: the number of
# 15-year-olds of their country that they stand for
weighted_mean<-function(score,weight) {
  ok<-!is.na(score)
  result<-sum(score[ok]*weight[ok])/sum(weight[ok])
  return(result)
}
subjects<-c(read="Reading",math="Mathematics",science="Science")
# the mean scores of the students of a country in a round
country_means<-function(x) {
  result<-data.frame(country=x$country[1],year=x$year[1],read=weighted_mean(x$read,x$weight),
                     math=weighted_mean(x$math,x$weight),
                     science=weighted_mean(x$science,x$weight))
  return(result)
}
means<-do.call(rbind,lapply(split(students,list(students$country,students$year),drop=TRUE),
                            country_means))
means$name<-unname(country_name[means$country])
# a subject is compared over time from the round in which it was first the main subject of the
# test, when its scale was set
first_round<-c(read=2000,math=2003,science=2006)
for(subject in names(subjects))
  means[means$year<first_round[subject],subject]<-NA

# the EU countries over time, without the results that the OECD does not compare over time: the
# Netherlands in 2000, when too few of its schools took part; Austria in 2009, when opposition to
# the test may have lowered the students' effort; Spain in 2018, when the test was not run
# properly in some of its regions
excluded<-c("NLD 2000","AUT 2009","ESP 2018")
trend<-means[means$country%in%names(eu)&!paste(means$country,means$year)%in%excluded,]
trend<-trend[order(trend$country,trend$year),]
# the EU line of the charts: the average, each country counted once, of the other EU countries
# with comparable results in every round since 2006, when most of them took part
recent<-trend[trend$year>=2006,]
peers<-setdiff(names(which(table(recent$country)==length(unique(recent$year)))),"GRC")
eu_line<-aggregate(cbind(read,math,science)~year,recent[recent$country%in%peers,],mean)
greek_trend<-trend[trend$country=="GRC",]

# the last round: every country and economy, the EU countries, Greece and the other EU countries
latest<-means[means$year==last&!is.na(means$math),]
europe<-latest[latest$country%in%names(eu),]
greece<-europe[europe$country=="GRC",]
others<-europe[europe$country!="GRC",]
# the place of Greece among a group of countries in a subject: 1 is the highest mean score
place<-function(x,subject) {
  result<-match("GRC",x$country[order(-x[[subject]])])
  return(result)
}
# how far Greece is below the average of the other EU countries, in points
gap<-sapply(names(subjects),function(subject) mean(others[[subject]])-greece[[subject]])

# the students of the EU countries in the last round, country by country
europe_students<-students[students$year==last&students$country%in%names(eu),]
by_country<-split(europe_students,europe_students$country)
# the score that a share p of the students do not exceed, the students counted with their weights
weighted_quantile<-function(score,weight,p) {
  ok<-!is.na(score)
  sorted<-order(score[ok])
  share<-cumsum(weight[ok][sorted])/sum(weight[ok])
  result<-score[ok][sorted][which(share>=p)[1]]
  return(result)
}
# the share of the students of a country at the top levels of mathematics, 5 and 6 (607 points or
# more), and the scores that its weakest tenth do not exceed and its best tenth reach
spread<-function(x) {
  result<-data.frame(country=x$country[1],top=100*weighted_mean(x$math>=606.99,x$weight),
                     weakest=weighted_quantile(x$math,x$weight,0.1),
                     best=weighted_quantile(x$math,x$weight,0.9))
  return(result)
}
spreads<-do.call(rbind,lapply(by_country,spread))
greek_spread<-spreads[spreads$country=="GRC",]
other_spreads<-spreads[spreads$country!="GRC",]

# the mean scores of the girls and of the boys of a country in a round, in columns such as
# read_girls, and by how many points the girls are ahead (a negative number: the boys are ahead)
sex_means<-function(x) {
  girls<-x$sex%in%"female"
  boys<-x$sex%in%"male"
  result<-data.frame(country=x$country[1],year=x$year[1])
  for(subject in names(subjects)) {
    result[[paste0(subject,"_girls")]]<-weighted_mean(x[[subject]][girls],x$weight[girls])
    result[[paste0(subject,"_boys")]]<-weighted_mean(x[[subject]][boys],x$weight[boys])
    result[[subject]]<-result[[paste0(subject,"_girls")]]-result[[paste0(subject,"_boys")]]
  }
  return(result)
}
sexes<-do.call(rbind,lapply(by_country,sex_means))
other_sexes<-sexes[sexes$country!="GRC",]
greek_students<-students[students$country=="GRC",]
greek_sexes<-do.call(rbind,lapply(split(greek_students,greek_students$year),sex_means))

# the quarter of family background of each student of a country, from 1 (the least advantaged) to
# 4 (the most), by PISA's index of economic, social and cultural status; each quarter holds a
# quarter of the country's 15-year-olds
background_quarter<-function(escs,weight) {
  result<-rep(NA,length(escs))
  ok<-which(!is.na(escs))
  sorted<-ok[order(escs[ok])]
  result[sorted]<-pmin(4,ceiling(4*cumsum(weight[sorted])/sum(weight[sorted])))
  return(result)
}
# the mean score in mathematics of the least and of the most advantaged quarter of a country
background_means<-function(x) {
  quarter<-background_quarter(x$escs,x$weight)
  result<-data.frame(country=x$country[1],
                     least=weighted_mean(x$math[quarter%in%1],x$weight[quarter%in%1]),
                     most=weighted_mean(x$math[quarter%in%4],x$weight[quarter%in%4]))
  return(result)
}
background<-do.call(rbind,lapply(by_country,background_means))
background$gap<-background$most-background$least
other_background<-background[background$country!="GRC",]

# Eurostat: the share of 15-year-olds below level 2, the basic level of PISA, in every EU country
# and in the EU as a whole, up to the latest round
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)
}
low<-eurostat_values("sdg_04_40",list(sex="T",unit="PC"))
low$subject<-c(READ="read",EF461="math",SCI="science")[low$field]
low_last<-max(low$time)
low_before<-max(low$time[low$time<low_last])
low_value<-function(geo,subject,year) {
  result<-low$values[low$geo==geo&low$subject==subject&low$time==year]
  return(result)
}
Code
greek_red<-"#d62728"
blue<-"#1f77b4"
gray<-"#9e9e9e"
light_gray<-"#cccccc"
dark_gray<-"#6b6b6b" # also the color of the notes and the labels
# a color and a marker for each subject, the same on every chart
subject_colour<-c(read="#c47f17",math="#2a9d8f",science="#7b5ea7")
subject_symbol<-c(read="diamond",math="circle",science="square")

# the source of a chart, as a note under it, and the common layout
chart<-function(p,title,source,y_title="",x_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",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_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, and lists of names in words
number<-function(x) {
  result<-format(round(x),big.mark=",",trim=TRUE)
  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)
}
in_words<-function(x) {
  result<-if(length(x)<2) x else paste(paste(x[-length(x)],collapse=", "),"and",x[length(x)])
  return(result)
}
# the label of a country on a chart of countries, Greece in bold, and a band behind its row
bold_greece<-function(name) {
  result<-ifelse(name=="Greece","<b>Greece</b>",name)
  return(result)
}
greece_band<-function(labels) {
  row<-match("<b>Greece</b>",labels)-1
  result<-list(type="rect",xref="paper",x0=0,x1=1,yref="y",y0=row-0.5,y1=row+0.5,
               fillcolor=greek_red,opacity=0.1,line=list(width=0),layer="below")
  return(result)
}
# a label with a line to the point of a country on the chart of the world
point_label<-function(x,code,ax,ay) {
  row<-x[x$country==code,]
  result<-list(x=row$math,y=row$read,text=row$name,showarrow=TRUE,arrowhead=0,ax=ax,ay=ay,
               arrowcolor=dark_gray,font=list(size=12,color=dark_gray))
  return(result)
}

1. Who learns most at 15?

Code
best<-latest[order(-latest$math),]
first_five<-best$name[1:5]
# the economies of East Asia in PISA: if the first five are all among them, the text says so
east_asia<-c("SGP","MAC","TAP","HKG","JPN","KOR","QCN","QCH","QCI","CHN","VNM")
first_europe<-europe[which.max(europe$math),]

The 15-year-olds of East Asia. In 2022, the highest mean scores in mathematics were those of Singapore, Macao (China), Chinese Taipei, Hong Kong (China) and Japan. Estonia, the first country of Europe, came 7th, 65 points behind Singapore. Greece came 44th of the 80 countries and economies in mathematics, 41st in reading and 44th in science.

The scores are points on a scale on which the 15-year-olds of the OECD’s countries averaged 500, with about two thirds of them between 400 and 600, in the round in which each subject was first the main one of the test: 2000 for reading, 2003 for mathematics and 2006 for science. The OECD counts a fall of 15 points as about three quarters of a year of learning (OECD 2023), so 20 points are roughly a year of school.

Code
world<-latest
world$group<-ifelse(world$country=="GRC","Greece",
                    ifelse(world$country%in%names(eu),"Other EU countries","The rest of the world"))
groups<-c(`The rest of the world`=gray,`Other EU countries`=blue,Greece=greek_red)
p<-plot_ly()
for(group in names(groups))
  p<-add_trace(p,data=world[world$group==group,],x=~math,y=~read,type="scatter",mode="markers",
               name=group,text=~name,customdata=~science,
               marker=list(color=groups[[group]],size=ifelse(group=="Greece",13,9),
                           line=list(color="white",width=1)),
               hovertemplate=paste0("<b>%{text}</b><br>Mathematics %{x:.0f}<br>",
                                    "Reading %{y:.0f}<br>Science %{customdata:.0f}<extra></extra>"))
labels<-list(point_label(latest,"GRC",50,35),point_label(latest,best$country[1],-70,20),
             point_label(latest,first_europe$country,-60,-35))
chart(p,paste0("Mean scores in mathematics and reading, ",last),
      "learningtower (OECD PISA): the first plausible value of every student, weighted",
      "Reading","Mathematics",annotations=labels,legend=legend_top,margin=list(t=100,b=90))

Countries that do well in one subject do well in the others: across the 80 countries and economies, the mean scores in mathematics and in reading have a correlation of 0.94, and those in mathematics and in science of 0.98.


2. Where does Greece stand in Europe?

Code
# the EU countries below Greece in a subject, from the highest score to the lowest
below_greece<-function(subject) {
  x<-europe[europe[[subject]]<greece[[subject]],]
  result<-x$name[order(-x[[subject]])]
  return(result)
}
below<-lapply(names(subjects),below_greece)
same_below<-all(sapply(below,identical,below[[1]]))
places<-sapply(names(subjects),function(subject) place(europe,subject))
# the country just below Greece in mathematics, and by how many points
next_below<-europe[europe$math<greece$math,]
next_below<-next_below[which.max(next_below$math),]

Near the bottom. Of the 25 EU countries in the data of 2022, Greece came 23rd in mathematics, 23rd in reading and 23rd in science: only Romania and Bulgaria scored lower in all three. (Cyprus is not in learningtower’s data, and Luxembourg did not take part in 2022.) Differences of a few points are within the margin of error of the test, such as the 3 points between Greece and Romania in mathematics.

Code
europe$average<-rowMeans(europe[,names(subjects)])
ranked<-europe[order(europe$average),]
ranked$label<-factor(bold_greece(ranked$name),levels=bold_greece(ranked$name))
p<-plot_ly()
for(subject in names(subjects))
  p<-add_trace(p,data=ranked,x=ranked[[subject]],y=~label,type="scatter",mode="markers",
               name=subjects[[subject]],
               marker=list(color=subject_colour[[subject]],symbol=subject_symbol[[subject]],
                           size=10),
               hovertemplate=paste0("%{y}, ",tolower(subjects[[subject]]),
                                    ": %{x:.0f}<extra></extra>"))
chart(p,paste0("Mean scores of the EU countries, ",last),
      "learningtower (OECD PISA). Cyprus is not in the data; Luxembourg did not take part in 2022.",
      legend=legend_top,margin=list(l=110,t=100,b=90),note_y=-0.08,
      shapes=list(greece_band(levels(ranked$label))))

Greece’s mean was 45 points below the average of the other 24 EU countries in mathematics, 36 in reading and 44 in science: by the OECD’s rule, about 2 years of school. The gap is widest at the top. Only 2.2% of Greek 15-year-olds reached the top levels of mathematics, 5 and 6, which take 607 points or more: the smallest share in the EU, against 8.2% on average in the other EU countries. The best tenth of the Greek students scored 543 points or more in mathematics, against 595 on average in the other EU countries; the weakest tenth scored 327 or less, against 357. The students below the basic level of PISA are in Greece at Work.


3. Who rose and who fell since 2000?

Code
greek_score<-function(subject,year) {
  result<-greek_trend[[subject]][greek_trend$year==year]
  return(result)
}
eu_score<-function(subject,year) {
  result<-eu_line[[subject]][eu_line$year==year]
  return(result)
}
# Greece's best round in each subject
peak<-sapply(names(subjects),function(subject)
  greek_trend$year[which.max(greek_trend[[subject]])])
# the change in mathematics of the EU countries with results in 2003 and in the last round
since_2003<-merge(trend[trend$year==2003&!is.na(trend$math),c("country","name","math")],
                  trend[trend$year==last,c("country","math")],by="country",
                  suffixes=c("_2003","_last"))
since_2003$change<-since_2003$math_last-since_2003$math_2003
largest_fall<-since_2003[which.min(since_2003$change),]
# how far Greece was below the EU line in its best round (2006 in science, the first of the line)
# and in the last
behind<-function(subject,year) {
  result<-eu_score(subject,year)-greek_score(subject,year)
  return(result)
}
from<-c(read=unname(peak["read"]),math=unname(peak["math"]),science=2006)
widened<-all(sapply(names(subjects),function(subject)
  behind(subject,last)>behind(subject,from[subject])))

Greece did best in 2009, and has fallen since. Its mean in reading went from 474 in 2000 to 482 in 2009 and 437 in 2022; in mathematics, from 445 in 2003 to 465 in 2009 and 431 in 2022. In science its best round was its first, 2006, with 473; in 2022 it scored 441.

Code
# one panel of the chart: the EU countries in gray, the EU line in blue and Greece in red
trend_panel<-function(subject,legend) {
  x<-trend[!is.na(trend[[subject]]),]
  y<-as.formula(paste0("~",subject))
  codes<-setdiff(unique(x$country),"GRC")
  p<-plot_ly()
  for(code in codes)
    p<-add_trace(p,data=x[x$country==code,],x=~year,y=y,type="scatter",mode="lines",
                 name="Other EU countries",legendgroup="other",showlegend=legend&code==codes[1],
                 line=list(color=light_gray,width=1),text=~name,
                 hovertemplate="%{text}, %{x}: %{y:.0f}<extra></extra>")
  p<-add_trace(p,data=eu_line,x=~year,y=y,type="scatter",mode="lines+markers",
               name=paste("Average of",length(peers),"other EU countries"),legendgroup="eu",
               showlegend=legend,line=list(color=blue,width=2),marker=list(color=blue,size=6),
               hovertemplate="EU average, %{x}: %{y:.0f}<extra></extra>")
  p<-add_trace(p,data=x[x$country=="GRC",],x=~year,y=y,type="scatter",mode="lines+markers",
               name="Greece",legendgroup="greece",showlegend=legend,
               line=list(color=greek_red,width=3),marker=list(color=greek_red,size=7),
               hovertemplate="Greece, %{x}: %{y:.0f}<extra></extra>")
  return(p)
}
panels<-lapply(names(subjects),function(subject) trend_panel(subject,subject=="read"))
p<-subplot(panels,nrows=3,shareX=TRUE,margin=0.05)
# the names of the subjects above their panels, and the same range of scores in every panel
range_all<-range(unlist(trend[,names(subjects)]),na.rm=TRUE)
y_range<-list(range=c(10*floor(range_all[1]/10)-5,10*ceiling(range_all[2]/10)+5))
titles<-lapply(seq_along(subjects),function(i)
  list(text=paste0("<b>",subjects[i],"</b>"),xref="paper",yref="paper",x=0,xanchor="left",
       y=p$x$layout[[c("yaxis","yaxis2","yaxis3")[i]]]$domain[2],yanchor="bottom",
       showarrow=FALSE))
chart(p,"Mean scores since 2000: Greece, the EU and every EU country",
      paste0("learningtower (OECD PISA). EU: the ",length(peers)," other EU countries with ",
             "comparable results in every round since 2006"),
      y_axis=y_range,x_axis=list(tickvals=rounds),annotations=titles,legend=legend_top,
      margin=list(t=110,b=80),note_y=-0.07,yaxis2=y_range,yaxis3=y_range)

The EU fell too, but less, so Greece fell further behind. Greece was 25 points below the EU line in mathematics in 2009 and 45 in 2022; in reading, 5 points in 2009 and 37 in 2022; in science, 24 in 2006 and 45 in 2022. Greece is not the country that fell most, though: between 2003 and 2022 mathematics fell in 15 of the 18 EU countries with results in both rounds, by 14 points in Greece and most in Finland, by 60.


4. What happened in 2022?

Code
# the EU countries with comparable results in 2018 and in the last round, and how their mean
# scores changed
change<-merge(trend[trend$year==2018,c("country","name",names(subjects))],
              trend[trend$year==last,c("country",names(subjects))],by="country",
              suffixes=c("_before","_after"))
for(subject in names(subjects))
  change[[subject]]<-change[[paste0(subject,"_after")]]-change[[paste0(subject,"_before")]]
fell<-sapply(names(subjects),function(subject) sum(change[[subject]]<0))
greek_change<-change[change$country=="GRC",]
other_change<-change[change$country!="GRC",]

Scores fell everywhere in mathematics. Between 2018 and 2022, the mean in mathematics fell in all 24 EU countries with comparable results in both rounds, by 16 points on average in the others and by 20 in Greece. Reading fell in 22 of them, by 20 points in Greece, and science in 13, by 11 in Greece.

Code
change<-change[order(-change$math),]
change$label<-factor(bold_greece(change$name),levels=bold_greece(change$name))
p<-plot_ly()
for(greek in c(FALSE,TRUE)) {
  x<-change[(change$country=="GRC")==greek,]
  colour<-if(greek) greek_red else dark_gray
  p<-add_segments(p,data=x,x=~math_before,xend=~math_after,y=~label,yend=~label,
                  line=list(color=colour,width=2),showlegend=FALSE,hoverinfo="none")
  p<-add_trace(p,data=x,x=~math_before,y=~label,type="scatter",mode="markers",name="2018",
               legendgroup="before",showlegend=!greek,
               marker=list(symbol="circle-open",size=10,color=colour,line=list(width=2)),
               hovertemplate="%{y}, 2018: %{x:.0f}<extra></extra>")
  p<-add_trace(p,data=x,x=~math_after,y=~label,type="scatter",mode="markers",
               name=as.character(last),legendgroup="after",showlegend=!greek,
               marker=list(size=10,color=colour),customdata=~math,
               hovertemplate=paste0("%{y}, ",last,": %{x:.0f} (%{customdata:+.0f})<extra></extra>"))
}
chart(p,paste0("Mean score in mathematics, 2018 and ",last),
      "learningtower (OECD PISA). Spain is left out: its results of 2018 are not comparable.",
      legend=legend_top,margin=list(l=110,t=100,b=90),note_y=-0.08,
      y_axis=list(categoryorder="array",categoryarray=levels(change$label)),
      shapes=list(greece_band(levels(change$label))))

2022 was the first round after the pandemic closed the schools. The OECD calls the fall in mathematics across its countries, almost 15 points, unprecedented; but it also finds that the pandemic explains only part of it. In reading and science, scores had begun to fall well before the pandemic, and the countries whose schools stayed closed longer did not clearly fall more than those that opened them sooner (OECD 2023).


5. Do girls or boys do better?

Code
greek_sex<-sexes[sexes$country=="GRC",]
boys_ahead<-sum(sexes$math<0)
# the reading of Greek girls and boys in Greece's best round and in the last
girls_fall<-greek_sexes$read_girls[greek_sexes$year==peak["read"]]-
  greek_sexes$read_girls[greek_sexes$year==last]
boys_fall<-greek_sexes$read_boys[greek_sexes$year==peak["read"]]-
  greek_sexes$read_boys[greek_sexes$year==last]

Girls read better everywhere; boys are a little ahead in mathematics in most countries. In 2022 the girls scored higher than the boys in reading in all 25 EU countries, by 27 points on average in the others and by 25 in Greece. In mathematics the boys were ahead in 21 of the 25, by 7 points on average in the others and by 7 in Greece. In science the two are within 10 points of each other in 19 of the 25 countries; in Greece the girls were 11 points ahead.

Code
sexes$name<-unname(eu[sexes$country])
sexes<-sexes[order(sexes$read),]
sexes$label<-factor(bold_greece(sexes$name),levels=bold_greece(sexes$name))
p<-plot_ly()
for(subject in names(subjects))
  p<-add_trace(p,data=sexes,x=sexes[[subject]],y=~label,type="scatter",mode="markers",
               name=subjects[[subject]],
               marker=list(color=subject_colour[[subject]],symbol=subject_symbol[[subject]],
                           size=10),
               hovertemplate=paste0("%{y}, ",tolower(subjects[[subject]]),
                                    ": %{x:+.0f}<extra></extra>"))
sides<-list(list(text="← Boys ahead",x=0,xanchor="right",xshift=-6,y=1,yanchor="bottom",
                 xref="x",yref="paper",showarrow=FALSE,font=list(color=dark_gray)),
            list(text="Girls ahead →",x=0,xanchor="left",xshift=6,y=1,yanchor="bottom",
                 xref="x",yref="paper",showarrow=FALSE,font=list(color=dark_gray)))
chart(p,paste0("Girls' mean score minus boys', ",last,", points"),"learningtower (OECD PISA)",
      annotations=sides,legend=list(orientation="h",x=0,y=1.06,yanchor="bottom"),
      margin=list(l=110,t=120,b=90),note_y=-0.08,
      shapes=list(greece_band(levels(sexes$label)),
                  list(type="line",x0=0,x1=0,yref="paper",y0=0,y1=1,
                       line=list(color=dark_gray,width=1))))

In Greece the gap in reading has narrowed, from 48 points in 2009 to 25 in 2022, but not because the boys caught up: the girls fell further. Since 2009 the girls’ mean in reading has fallen by 55 points, and the boys’ by 33.


6. Does family background matter?

PISA measures the family background of each student with an index of economic, social and cultural status, from the education and jobs of the parents and the things the family has at home, such as books. Here the students of each country are split by that index into four quarters, from the least to the most advantaged.

Code
greek_background<-background[background$country=="GRC",]
background_place<-rank(background$gap)[background$country=="GRC"]
others_average<-mean(others$math)

Everywhere, but less in Greece. In the other EU countries, the most advantaged quarter of the students scored 98 points more in mathematics than the least advantaged, on average: about 5 years of school. In Greece the gap was 75 points, the 4th smallest of the 25 countries.

Code
background$name<-unname(eu[background$country])
background<-background[order(background$gap),]
background$label<-factor(bold_greece(background$name),levels=bold_greece(background$name))
p<-plot_ly()
for(greek in c(FALSE,TRUE)) {
  x<-background[(background$country=="GRC")==greek,]
  colour<-if(greek) greek_red else dark_gray
  p<-add_segments(p,data=x,x=~least,xend=~most,y=~label,yend=~label,
                  line=list(color=colour,width=2),showlegend=FALSE,hoverinfo="none")
  p<-add_trace(p,data=x,x=~least,y=~label,type="scatter",mode="markers",
               name="Least advantaged quarter",legendgroup="least",showlegend=!greek,
               marker=list(symbol="circle-open",size=10,color=colour,line=list(width=2)),
               hovertemplate="%{y}, least advantaged quarter: %{x:.0f}<extra></extra>")
  p<-add_trace(p,data=x,x=~most,y=~label,type="scatter",mode="markers",
               name="Most advantaged quarter",legendgroup="most",showlegend=!greek,
               marker=list(size=10,color=colour),customdata=~gap,
               hovertemplate=paste0("%{y}, most advantaged quarter: %{x:.0f}",
                                    " (%{customdata:.0f} points more)<extra></extra>"))
}
average_line<-list(type="line",x0=others_average,x1=others_average,yref="paper",y0=0,y1=1,
                   line=list(color=blue,width=1,dash="dash"))
average_label<-list(text="Average of the<br>other EU countries",x=others_average,xanchor="left",
                    y=1,yanchor="top",xref="x",yref="paper",showarrow=FALSE,
                    font=list(size=11,color=blue))
chart(p,paste0("Mean score in mathematics by family background, ",last),
      "learningtower (OECD PISA): quarters of each country by PISA's index of family background",
      annotations=list(average_label),legend=legend_top,margin=list(l=110,t=100,b=90),
      note_y=-0.08,y_axis=list(categoryorder="array",categoryarray=levels(background$label)),
      shapes=list(greece_band(levels(background$label)),average_line))

But in Greece the students do not do well at either end. The least advantaged quarter scored 399, against 430 on average in the other EU countries, and the most advantaged 474, against 528: about the mean score of the other EU countries, 476.


7. What does PISA 2025 add?

The OECD published the results of PISA 2025 on 8 September 2026; all 27 EU countries took part, among 91 countries and economies (European Commission 2026). Its student data are not yet in learningtower; what this page can show of it is the share of students below level 2, the basic level of PISA, which Eurostat already publishes for 2025.

Code
# the EU countries in the last round of Eurostat, and the place of Greece by its share of students
# below the basic level in mathematics: 1 is the highest share
low_eu<-low[low$time==low_last&low$subject=="math"&low$geo%in%eu_countries$code,]
low_place<-match("EL",low_eu$geo[order(-low_eu$values)])
rose<-sapply(names(subjects),function(subject)
  low_value("EL",subject,low_last)>low_value("EL",subject,low_before))

More Greek students below the basic level, in every subject. In 2025, 49.6% of Greek 15-year-olds were below level 2 in mathematics (47.2% in 2022), 43.9% in reading (37.6%) and 41.0% in science (37.3%). In the EU as a whole the shares were 33.9%, 31.3% and 25.9%. In mathematics, Greece had the 4th highest share of the 27 EU countries.

Code
rows<-expand.grid(geo=c("EU27_2020","EL"),subject=rev(names(subjects)),stringsAsFactors=FALSE)
rows$before<-mapply(low_value,rows$geo,rows$subject,low_before)
rows$after<-mapply(low_value,rows$geo,rows$subject,low_last)
rows$label<-paste0(subjects[rows$subject],", ",ifelse(rows$geo=="EL","Greece","EU-27"))
rows$label<-factor(rows$label,levels=rows$label)
# the legend shows the two rounds in gray, as the rows are red for Greece and blue for the EU: its
# two markers are drawn under the first row's own, which hide them
p<-plot_ly() %>%
  add_trace(data=rows[1,],x=~before,y=~label,type="scatter",mode="markers",
            name=as.character(low_before),hoverinfo="none",
            marker=list(symbol="circle-open",size=10,color=dark_gray,line=list(width=2))) %>%
  add_trace(data=rows[1,],x=~after,y=~label,type="scatter",mode="markers",
            name=as.character(low_last),hoverinfo="none",marker=list(size=10,color=dark_gray))
for(geo in c("EU27_2020","EL")) {
  x<-rows[rows$geo==geo,]
  colour<-if(geo=="EL") greek_red else blue
  p<-add_segments(p,data=x,x=~before,xend=~after,y=~label,yend=~label,
                  line=list(color=colour,width=2),showlegend=FALSE,hoverinfo="none")
  p<-add_trace(p,data=x,x=~before,y=~label,type="scatter",mode="markers",showlegend=FALSE,
               marker=list(symbol="circle-open",size=10,color=colour,line=list(width=2)),
               hovertemplate=paste0("%{y}, ",low_before,": %{x:.1f}%<extra></extra>"))
  p<-add_trace(p,data=x,x=~after,y=~label,type="scatter",mode="markers",showlegend=FALSE,
               marker=list(size=10,color=colour),
               hovertemplate=paste0("%{y}, ",low_last,": %{x:.1f}%<extra></extra>"))
}
goal<-list(type="line",x0=15,x1=15,yref="paper",y0=0,y1=1,
           line=list(color=dark_gray,width=1,dash="dash"))
goal_label<-list(text="EU goal for 2030:<br>below 15%",x=15,xanchor="left",y=1,yanchor="top",
                 xref="x",yref="paper",showarrow=FALSE,font=list(size=11,color=dark_gray))
chart(p,paste0("15-year-olds below the basic level of PISA, ",low_before," and ",low_last,", %"),
      "Eurostat, sdg_04_40 (OECD PISA)",annotations=list(goal_label),legend=legend_top,
      margin=list(l=150,t=100,b=80),note_y=-0.2,
      x_axis=list(range=c(0,1.1*max(rows$after)),ticksuffix="%"),
      y_axis=list(categoryorder="array",categoryarray=levels(rows$label)),shapes=list(goal))

The EU’s goal for 2030 is fewer than 15% below the basic level in each subject; the European Commission notes that the shares have risen sharply since 2015, especially in mathematics and reading, and that the EU continues to lag behind other advanced economies (European Commission 2026).


Sources


Rendered with R 4.6.2 · plotly