Gross capital formation (current USD)

Data - WDI

Info

Last observation: 2025 (N = 10,930)

First observation: 1960 (N = 10,930)

Last data update: 14 aoû 2026, 20:08. Last compile: 14 aoû 2026, 20:46

Info

Nobs - Javascript

Code
NE.GDI.TOTL.CD |>
  left_join(iso2c, by = "iso2c") |>
  group_by(iso2c, Iso2c) |>
  mutate(value = round(value/10^6)) %>%
  summarise(Nobs = n(),
            `Year 1` = first(year),
            `Investment 1 (Bn)` = first(value) %>% paste0("$ ", .),
            `Year 2` = last(year),
            `Investment 2 (Bn)` = last(value) %>% paste0("$ ", .)) |>
  arrange(-Nobs) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}

China, E.U., U.S.

Linear

All

Code
NE.GDI.TOTL.CD |>
  right_join(iso2c, by = "iso2c") |>
  filter(iso2c %in% c("1W", "US", "CN", "EU")) |>
  group_by(year) |>
  filter(n() > 3) |>
  mutate(value = value/value[iso2c == "1W"]) |>
  year_to_date() |>
  filter(!(iso2c == "1W")) |>
  mutate(Iso2c = ifelse(iso2c == "EU", "Europe", Iso2c)) |>
  left_join(colors, by = c("Iso2c" = "country")) |>
  mutate(color = ifelse(iso2c == "US", color2, color)) |>
  ggplot() + theme_minimal() + scale_color_identity() +
  geom_line(aes(x = date, y = value, color = color)) +
  add_flags +
  scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
               labels = date_format("%Y")) +
  scale_y_continuous(breaks = 0.01*seq(0, 70, 5),
                     labels = scales::percent_format(accuracy = 1)) + 
  xlab("") + ylab("% de l'Investissement mondial")

1995-

Code
NE.GDI.TOTL.CD |>
  right_join(iso2c, by = "iso2c") |>
  filter(iso2c %in% c("1W", "US", "CN", "EU")) |>
  group_by(year) |>
  filter(n() > 3) |>
  mutate(value = value/value[iso2c == "1W"]) |>
  year_to_date() |>
  filter(!(iso2c == "1W")) |>
  mutate(Iso2c = ifelse(iso2c == "EU", "Europe", Iso2c)) |>
  left_join(colors, by = c("Iso2c" = "country")) |>
  mutate(color = ifelse(iso2c != "US", color2, color)) |>
  filter(date >= as.Date("1995-01-01")) |>
  ggplot() + theme_minimal() + scale_color_identity() +
  geom_line(aes(x = date, y = value, color = color)) +
  add_flags +
  scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
               labels = date_format("%Y")) +
  scale_y_continuous(breaks = 0.01*seq(0, 70, 5),
                     labels = scales::percent_format(accuracy = 1),
                     limits = 0.01*c(0, 35)) + 
  xlab("") + ylab("% de l'Investissement mondial")

Log

Code
NE.GDI.TOTL.CD |>
  right_join(iso2c, by = "iso2c") |>
  filter(iso2c %in% c("1W", "US", "CN", "EU")) |>
  group_by(year) |>
  filter(n() > 3) |>
  mutate(value = value/value[iso2c == "1W"]) |>
  year_to_date() |>
  filter(!(iso2c == "1W")) |>
  mutate(Iso2c = ifelse(iso2c == "EU", "Europe", Iso2c)) |>
  left_join(colors, by = c("Iso2c" = "country")) |>
  mutate(color = ifelse(iso2c == "US", color2, color)) |>
  ggplot() + theme_minimal() + scale_color_identity() +
  geom_line(aes(x = date, y = value, color = color)) +
  add_flags +
  scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
               labels = date_format("%Y")) +
  scale_y_log10(breaks = 0.01*seq(0, 70, 5),
                     labels = scales::percent_format(accuracy = 1)) + 
  xlab("") + ylab("% du PIB mondial en Parité de Pouvoir d'Achat")

Russia, France, Germany

Linear

All

Code
NE.GDI.TOTL.CD |>
  right_join(iso2c, by = "iso2c") |>
  filter(iso2c %in% c("1W", "RU", "FR", "DE")) |>
  group_by(year) |>
  filter(n() > 3) |>
  mutate(value = value/value[iso2c == "1W"]) |>
  year_to_date() |>
  filter(!(iso2c == "1W")) |>
  mutate(Iso2c = ifelse(iso2c == "EU", "Europe", Iso2c)) |>
  mutate(Iso2c = ifelse(iso2c == "RU", "Russia", Iso2c)) |>
  left_join(colors, by = c("Iso2c" = "country")) |>
  mutate(color = ifelse(iso2c == "FR", color2, color)) |>
  ggplot() + theme_minimal() + scale_color_identity() +
  geom_line(aes(x = date, y = value, color = color)) +
  add_flags +
  scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
               labels = date_format("%Y")) +
  scale_y_continuous(breaks = 0.01*seq(0, 70, 1),
                     labels = scales::percent_format(accuracy = 1)) + 
  xlab("") + ylab("% de l'Investissement mondial")

1995-

Code
NE.GDI.TOTL.CD |>
  right_join(iso2c, by = "iso2c") |>
  filter(iso2c %in% c("1W", "RU", "FR", "DE")) |>
  group_by(year) |>
  filter(n() > 3) |>
  mutate(value = value/value[iso2c == "1W"]) |>
  year_to_date() |>
  filter(!(iso2c == "1W")) |>
  mutate(Iso2c = ifelse(iso2c == "EU", "Europe", Iso2c)) |>
  mutate(Iso2c = ifelse(iso2c == "RU", "Russia", Iso2c)) |>
  left_join(colors, by = c("Iso2c" = "country")) |>
  mutate(color = ifelse(iso2c == "FR", color2, color)) |>
  filter(date >= as.Date("1995-01-01")) |>
  ggplot() + theme_minimal() + scale_color_identity() +
  geom_line(aes(x = date, y = value, color = color)) +
  add_flags +
  scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
               labels = date_format("%Y")) +
  scale_y_continuous(breaks = 0.01*seq(0, 70, 1),
                     labels = scales::percent_format(accuracy = 1)) + 
  xlab("") + ylab("% de l'Investissement mondial")