Can't find the tweet that dug a bit deeper, but basically, this difference entirely evaporates if you take a look at the GDP PPP, vs just GDP.
https://data.worldbank.org/indicator/NY.GDP.MKTP.PP.CD?locat...
https://data.worldbank.org/indicator/NY.GDP.MKTP.PP.CD?locat...
Indeed, the article says Eurozone, while this graph (and the one on nominal GDP from same source) says 'EU'.
You can compare GDP per capita by PPP.