{
  "name": "obesity-tobacco-alcohol-by-country",
  "title": "Obesity, Tobacco and Alcohol by Country",
  "description": "How common obesity, tobacco use and drinking are in every country. The world's adult obesity rate has gone from 7% in 1990 to 16% in 2024, while tobacco use fell from 33% in 2000 to 20%.",
  "status": "monitored",
  "keywords": [
    "obesity rate by country",
    "adult obesity",
    "BMI 30 prevalence",
    "tobacco use by country",
    "smoking rates by country",
    "alcohol consumption per capita",
    "litres of pure alcohol per person",
    "health risk factors",
    "WHO Global Health Observatory",
    "NCD risk factors",
    "weight-loss drugs"
  ],
  "licenses": [
    {
      "name": "WHO-Data-Terms",
      "title": "WHO Data Policy: Terms and conditions for the use of datasets",
      "path": "https://www.who.int/about/policies/publishing/data-policy/terms-and-conditions"
    }
  ],
  "sources": [
    {
      "title": "World Health Organization, Global Health Observatory (GHO) OData API: NCD_BMI_30A, Obesity among adults, BMI >= 30 kg/m2 (age-standardized estimate) (%)",
      "path": "https://ghoapi.azureedge.net/api/NCD_BMI_30A"
    },
    {
      "title": "World Health Organization, GHO: M_Est_tob_curr_std, Estimate of current tobacco use prevalence (%) (age-standardized)",
      "path": "https://ghoapi.azureedge.net/api/M_Est_tob_curr_std"
    },
    {
      "title": "World Health Organization, GHO: SA_0000001688, Alcohol, total per capita (15+) consumption (in litres of pure alcohol) (SDG Indicator 3.5.2), three-year average",
      "path": "https://ghoapi.azureedge.net/api/SA_0000001688"
    }
  ],
  "upkeep": {
    "mode": "living",
    "refresh": "annual",
    "workflow": ".github/workflows/update.yml"
  },
  "resources": [
    {
      "path": "data/risk-factors-by-country.csv",
      "name": "risk-factors-by-country",
      "title": "Obesity, tobacco use and alcohol consumption by country and year, 1990-2024",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "iso3",
            "type": "string",
            "description": "ISO 3166-1 alpha-3 code as used by WHO (GHO SpatialDim)."
          },
          {
            "name": "country",
            "type": "string",
            "description": "Country or territory, as named by WHO (for example Naoero is Nauru)."
          },
          {
            "name": "who_region",
            "type": "string",
            "description": "WHO region: Africa, Americas, Eastern Mediterranean, Europe, South-East Asia or Western Pacific."
          },
          {
            "name": "year",
            "type": "integer",
            "description": "Calendar year, 1990 to 2024.",
            "constraints": {
              "minimum": 1990,
              "maximum": 2024
            }
          },
          {
            "name": "obesity_pct_both",
            "type": "number",
            "description": "Adults (18 and over) with a body mass index of 30 or more, both sexes, age-standardised, % (WHO GHO NCD_BMI_30A). WHO estimate. Blank if WHO gives none.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "obesity_pct_men",
            "type": "number",
            "description": "Same as obesity_pct_both, men.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "obesity_pct_women",
            "type": "number",
            "description": "Same as obesity_pct_both, women.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "tobacco_pct_both",
            "type": "number",
            "description": "Adults using any tobacco product (smoked or smokeless) currently, both sexes, age-standardised, % (WHO GHO M_Est_tob_curr_std). WHO estimate, published for 167 countries and for only some years (2000, 2005, 2007, 2010, 2015, 2020, 2022-2024). In the country file, 63 countries have WHO smoking prevalence in place of missing tobacco use (see tobacco_measure there).",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "tobacco_pct_men",
            "type": "number",
            "description": "Same as tobacco_pct_both, men.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "tobacco_pct_women",
            "type": "number",
            "description": "Same as tobacco_pct_both, women.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "tobacco_measure",
            "type": "string",
            "constraints": {
              "enum": [
                "tobacco use",
                "smoking (substituted by WHO)"
              ]
            },
            "description": "What the tobacco_pct columns measure for this country: current use of any tobacco, or, for 63 countries without tobacco use estimates, WHO's substitute of current smoking prevalence (from WHO's own comment on each value). Blank when there is no tobacco value."
          },
          {
            "name": "tobacco_projected",
            "type": "boolean",
            "description": "true when WHO's comment says the country's most recent national survey was earlier than the year and the value is a projection; false otherwise. Blank when there is no tobacco value."
          },
          {
            "name": "alcohol_litres_per_capita",
            "type": "number",
            "description": "Total (recorded plus unrecorded) alcohol consumed per person aged 15 and over in a year, litres of pure alcohol, three-year average (WHO GHO SA_0000001688, SDG indicator 3.5.2).",
            "constraints": {
              "minimum": 0,
              "maximum": 30
            }
          }
        ],
        "primaryKey": [
          "iso3",
          "year"
        ]
      }
    },
    {
      "path": "data/risk-factors-aggregates.csv",
      "name": "risk-factors-aggregates",
      "title": "The same indicators for the world, WHO regions and World Bank income groups, by year",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "group_type",
            "type": "string",
            "constraints": {
              "enum": [
                "global",
                "who-region",
                "income-group"
              ]
            },
            "description": "Kind of group."
          },
          {
            "name": "group_code",
            "type": "string",
            "description": "WHO's code for the group (GLOBAL, AFR, AMR, EMR, EUR, SEAR, WPR, WB_LI, WB_LMI, WB_UMI, WB_HI)."
          },
          {
            "name": "group_name",
            "type": "string",
            "description": "Group name."
          },
          {
            "name": "year",
            "type": "integer",
            "description": "Calendar year, 1990 to 2024.",
            "constraints": {
              "minimum": 1990,
              "maximum": 2024
            }
          },
          {
            "name": "obesity_pct_both",
            "type": "number",
            "description": "Adults (18 and over) with a body mass index of 30 or more, both sexes, age-standardised, % (WHO GHO NCD_BMI_30A). WHO estimate. Blank if WHO gives none. Group figures are WHO's own; income-group rows exist only for obesity.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "obesity_pct_men",
            "type": "number",
            "description": "Same as obesity_pct_both, men.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "obesity_pct_women",
            "type": "number",
            "description": "Same as obesity_pct_both, women.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "tobacco_pct_both",
            "type": "number",
            "description": "Adults using any tobacco product (smoked or smokeless) currently, both sexes, age-standardised, % (WHO GHO M_Est_tob_curr_std). WHO estimate, published for 167 countries and for only some years (2000, 2005, 2007, 2010, 2015, 2020, 2022-2024). In the country file, 63 countries have WHO smoking prevalence in place of missing tobacco use (see tobacco_measure there).",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "tobacco_pct_men",
            "type": "number",
            "description": "Same as tobacco_pct_both, men.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "tobacco_pct_women",
            "type": "number",
            "description": "Same as tobacco_pct_both, women.",
            "constraints": {
              "minimum": 0,
              "maximum": 100
            }
          },
          {
            "name": "alcohol_litres_per_capita",
            "type": "number",
            "description": "Total (recorded plus unrecorded) alcohol consumed per person aged 15 and over in a year, litres of pure alcohol, three-year average (WHO GHO SA_0000001688, SDG indicator 3.5.2).",
            "constraints": {
              "minimum": 0,
              "maximum": 30
            }
          }
        ],
        "primaryKey": [
          "group_code",
          "year"
        ]
      }
    }
  ],
  "views": [
    {
      "name": "world-obesity",
      "title": "Adult obesity in the world since 1990",
      "description": "Share of adults with a body mass index of 30 or more, age-standardised, for the whole world. It has risen from 6.7% in 1990 to 16.2% in 2024, more than doubling, and women (18.4%) are now obese more often than men (13.8%).",
      "resourceName": "risk-factors-aggregates",
      "specType": "plot",
      "spec": {
        "height": 400,
        "marginLeft": 48,
        "x": {
          "tickFormat": "d",
          "label": null
        },
        "y": {
          "tickFormat": ",d",
          "grid": true,
          "domain": [
            0,
            22
          ],
          "label": "% of adults obese"
        },
        "marks": [
          {
            "type": "areaY",
            "x": "year",
            "y": "obesity_pct_both",
            "fill": "#111827",
            "fillOpacity": 0.06,
            "tip": false,
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              }
            ]
          },
          {
            "type": "line",
            "x": "year",
            "y": "obesity_pct_women",
            "stroke": "#8b929d",
            "sort": "year",
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              },
              {
                "field": "obesity_pct_women",
                "notNull": true
              }
            ]
          },
          {
            "type": "line",
            "x": "year",
            "y": "obesity_pct_men",
            "stroke": "#8b929d",
            "sort": "year",
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              },
              {
                "field": "obesity_pct_men",
                "notNull": true
              }
            ]
          },
          {
            "type": "line",
            "x": "year",
            "y": "obesity_pct_both",
            "stroke": "#111827",
            "sort": "year",
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              },
              {
                "field": "obesity_pct_both",
                "notNull": true
              }
            ]
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 18.44,
                "label": "Women 18.4%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -8,
            "textAnchor": "end"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 13.85,
                "label": "Men 13.8%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": 14,
            "textAnchor": "end"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 16.17,
                "label": "All adults 16.2%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -4,
            "textAnchor": "end"
          }
        ]
      }
    },
    {
      "name": "highest-obesity",
      "title": "Countries with the highest adult obesity, 2024",
      "description": "Countries and territories where at least 60% of adults are obese in 2024. All eight are Pacific islands, led by American Samoa (76%), Tonga (74%), the Cook Islands (72%) and Nauru (71%). Across 199 countries, 66 are now above 30%, up from 13 in 1990.",
      "resourceName": "risk-factors-by-country",
      "specType": "plot",
      "spec": {
        "height": 300,
        "marginLeft": 120,
        "x": {
          "domain": [
            0,
            80
          ],
          "label": "% of adults obese (age-standardised)",
          "tickFormat": ",d"
        },
        "y": {
          "grid": false
        },
        "marks": [
          {
            "type": "barX",
            "x": "obesity_pct_both",
            "y": "country",
            "fill": "#111827",
            "sort": "obesity_pct_both",
            "filter": [
              {
                "field": "year",
                "eq": 2024
              },
              {
                "field": "obesity_pct_both",
                "gte": 60
              }
            ]
          }
        ]
      }
    },
    {
      "name": "world-tobacco",
      "title": "Tobacco use in the world since 2000",
      "description": "Share of adults who use any tobacco product, age-standardised, for the whole world. Use has fallen from about 33% in 2000 to about 20% in 2024. Men use tobacco nearly five times as often as women: about 33% against 7% in 2024.",
      "resourceName": "risk-factors-aggregates",
      "specType": "plot",
      "spec": {
        "height": 380,
        "marginLeft": 48,
        "x": {
          "tickFormat": "d",
          "label": null
        },
        "y": {
          "tickFormat": ",d",
          "grid": true,
          "domain": [
            0,
            55
          ],
          "label": "% of adults using tobacco"
        },
        "marks": [
          {
            "type": "areaY",
            "x": "year",
            "y": "tobacco_pct_both",
            "fill": "#111827",
            "fillOpacity": 0.06,
            "tip": false,
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              },
              {
                "field": "tobacco_pct_both",
                "notNull": true
              }
            ]
          },
          {
            "type": "line",
            "x": "year",
            "y": "tobacco_pct_women",
            "stroke": "#8b929d",
            "sort": "year",
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              },
              {
                "field": "tobacco_pct_women",
                "notNull": true
              }
            ]
          },
          {
            "type": "line",
            "x": "year",
            "y": "tobacco_pct_men",
            "stroke": "#8b929d",
            "sort": "year",
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              },
              {
                "field": "tobacco_pct_men",
                "notNull": true
              }
            ]
          },
          {
            "type": "line",
            "x": "year",
            "y": "tobacco_pct_both",
            "stroke": "#111827",
            "sort": "year",
            "filter": [
              {
                "field": "group_code",
                "eq": "GLOBAL"
              },
              {
                "field": "tobacco_pct_both",
                "notNull": true
              }
            ]
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 32.5,
                "label": "Men 32.5%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -8,
            "textAnchor": "end"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 6.6,
                "label": "Women 6.6%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -8,
            "textAnchor": "end"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 19.5,
                "label": "All adults 19.5%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -8,
            "textAnchor": "end"
          }
        ]
      }
    }
  ]
}
