Documentation

    Hosted installer: at launch

    Gapminder: families and longer lives

    Back to the chart gallery

    Gapminder made country trajectories over time a familiar way to explore development. These frozen five-year observations from 1960–2020 keep fertility, life expectancy, population and region together.

    Explore how countries moved over six decades

    Country observations every five years; bubble area represents population

    Year2020

    Year: 2020

    AsiaEuropeAfricaAmericas

    The same chart in each style

    Source

    Rich Markdown
    ---
    title: "Gapminder: families and longer lives"
    styles: [air]
    ---
    
    ```chart
    {
      "axes": {
        "x": {
          "label": "Babies per woman"
        },
        "y": {
          "label": "Life expectancy",
          "unit": "years"
        }
      },
      "controls": [
        {
          "field": "year",
          "id": "year",
          "initial": "2020",
          "kind": "playback",
          "label": "Year",
          "loop": true,
          "speed": 1000
        }
      ],
      "data": {
        "csv": "data.csv"
      },
      "encoding": {
        "color": "region",
        "label": "country",
        "size": "population",
        "x": "babies_per_woman",
        "y": "life_expectancy"
      },
      "style": {
        "ratio": "4:3"
      },
      "subtitle": "Country observations every five years; bubble area represents population",
      "title": "Explore how countries moved over six decades",
      "type": "scatter"
    }
    ```
    
    

    Data and credits

    Complete report and provenance · Rich Markdown source · CSV observations.

    Was this page useful? Suggest an edit