{
  "id": "flow-bars",
  "name": "Flow bars",
  "family": "flow",
  "tier": "pro",
  "summary": "Use flow bars to show what comes in and what goes out at each stage as a pair of bars, so the net change is the gap between them.",
  "title": "Deaths are projected to outnumber births worldwide from the 2080s",
  "subtitle": "People born and people who died worldwide, per decade, 1950s–2090s; UN medium projection after 2023",
  "howToRead": "Bars above the line are births in each decade and bars below are deaths; the dotted line is the net change, which crosses zero in the 2080s.",
  "useWhen": [
    "each stage has an inflow and an outflow",
    "the balance between in and out is the story",
    "there are 4 to 20 stages"
  ],
  "avoidWhen": [
    "there is no natural in and out (use grouped bars)",
    "you need to show where the flow goes next (use a Sankey)",
    "the stages are not in an order",
    "more than about 20 stages (labels thin out)"
  ],
  "fields": [
    {
      "name": "decades[].decade",
      "type": "year",
      "description": "the period, in order: its first year (decades show as 1950s) or any label"
    },
    {
      "name": "decades[].births",
      "type": "number",
      "description": "what came in during the period (named by hints.inWord and inNoun)",
      "unit": "people",
      "format": "count"
    },
    {
      "name": "decades[].deaths",
      "type": "number",
      "description": "what went out during the period (named by hints.outWord and outNoun)",
      "unit": "people",
      "format": "count"
    },
    {
      "name": "decades[].projectedYears",
      "type": "number",
      "description": "how many of the period's years are projections (0 to hints.periodYears; optional)",
      "unit": "years",
      "format": "count",
      "fixed": true,
      "optional": true
    },
    {
      "name": "lastEstimate",
      "type": "year",
      "description": "the last year of estimates (optional)",
      "optional": true
    }
  ],
  "hints": {
    "inWord": "born",
    "outWord": "died",
    "inNoun": "births",
    "outNoun": "deaths",
    "projection": "UN projection"
  },
  "interactions": [
    "hover or tap a period to read births, deaths and the net change"
  ],
  "motion": "Births grow up from the line and deaths grow down, decade by decade; then the net line appears.",
  "sound": "A pop on hover. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "from the 2080s",
      "in": "title"
    }
  ],
  "tags": [
    "in and out",
    "inflow",
    "outflow",
    "population",
    "births",
    "deaths",
    "demography",
    "projection"
  ],
  "mobile": "desktop",
  "mobileNote": "2 labels overlap on a phone",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9"
  ],
  "bestRatio": "16:9",
  "source": {
    "title": "Births and deaths, projected to 2100",
    "publisher": "Our World in Data, from UN World Population Prospects",
    "url": "https://ourworldindata.org/grapher/births-and-deaths-projected-to-2100",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Decade totals are sums of the yearly figures. The 2020s mix estimates (to 2023) and projections; later decades are the UN medium projection, which is uncertain."
}