Gini index (World Bank estimate) - SI.POV.GINI

Data - WDI

Info

Last observation: 2025 (N = 4)

First observation: 1963 (N = 1)

Last data update: 16 aoû 2026, 20:16. Last compile: 18 aoû 2026, 00:14

Nobs - Javascript

Code
SI.POV.GINI |>
  left_join(iso2c, by = "iso2c") |>
  group_by(iso2c, Iso2c) |>
  mutate(value = round(value)) |>
  summarise(Nobs = n(),
            `Year 1` = first(year),
            `Gini 1` = first(value),
            `Year 2` = last(year),
            `Gini 2` = last(value)) |>
  arrange(-Nobs) |>
  mutate(Flag = gsub(" ", "-", str_to_lower(Iso2c)),
         Flag = paste0('<img src="../../bib/flags/vsmall/', Flag, '.png" alt="Flag">')) |>
  select(Flag, everything()) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}

Switzerland, France

All

Code
SI.POV.GINI |>
  filter(iso2c %in% c("GB", "FR", "US")) |>
  year_to_date() |>
  left_join(iso2c, by = "iso2c") |>
  left_join(colors, by = c("Iso2c" = "country")) |>
  mutate(value = value) |>
  ggplot() + xlab("") + ylab("Gini") +
  geom_line(aes(x = date, y = value, color = color)) + 
  theme_minimal() + scale_color_identity() + add_flags +
  scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
               labels = date_format("%Y")) +
  scale_y_continuous(breaks = seq(28, 44, 2))

1990-

Code
SI.POV.GINI |>
  filter(iso2c %in% c("GB", "FR", "US")) |>
  year_to_date() |>
  left_join(iso2c, by = "iso2c") |>
  left_join(colors, by = c("Iso2c" = "country")) |>
  mutate(value = value) |>
  filter(date >= as.Date("1990-01-01")) |>
  ggplot() + xlab("") + ylab("Gini") +
  geom_line(aes(x = date, y = value, color = color)) + 
  theme_minimal() + scale_color_identity() + add_flags +
  scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
               labels = date_format("%Y"))