{
  "title": {
    "text": "U.S. people 65+ vs under-18s",
    "left": "center",
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "legend": {
    "top": 36,
    "left": "center",
    "itemGap": 18,
    "textStyle": {
      "fontSize": 12,
      "color": "#17212b"
    }
  },
  "grid": {
    "left": 64,
    "right": 24,
    "top": 78,
    "bottom": 56,
    "containLabel": false
  },
  "tooltip": {
    "trigger": "axis"
  },
  "xAxis": {
    "type": "category",
    "data": [
      "2022",
      "2023",
      "2024",
      "2025",
      "2026",
      "2027",
      "2028",
      "2029",
      "2030",
      "2031",
      "2032",
      "2033",
      "2034",
      "2035",
      "2036",
      "2037",
      "2038",
      "2039",
      "2040",
      "2041",
      "2042",
      "2043",
      "2044",
      "2045",
      "2046",
      "2047",
      "2048",
      "2049",
      "2050"
    ],
    "name": "Projection year",
    "nameLocation": "middle",
    "nameGap": 32,
    "axisLabel": {
      "interval": 3,
      "rotate": 0,
      "color": "#334155"
    },
    "axisTick": {
      "alignWithLabel": true
    }
  },
  "yAxis": {
    "type": "value",
    "name": "Million people",
    "nameLocation": "middle",
    "nameGap": 48,
    "min": 0,
    "axisLabel": {
      "color": "#334155"
    },
    "splitLine": {
      "lineStyle": {
        "color": "#e2e8f0"
      }
    }
  },
  "series": [
    {
      "name": "Ages 0\u201317 (under 18)",
      "type": "line",
      "data": [
        72.45,
        72.0,
        71.51,
        70.93,
        70.35,
        69.92,
        69.58,
        69.32,
        69.09,
        68.86,
        68.6,
        68.33,
        68.07,
        67.9,
        67.79,
        67.75,
        67.73,
        67.8,
        67.75,
        67.72,
        67.66,
        67.59,
        67.49,
        67.37,
        67.23,
        67.07,
        66.89,
        66.7,
        66.49
      ],
      "showSymbol": true,
      "symbol": "circle",
      "symbolSize": 6,
      "lineStyle": {
        "width": 3,
        "type": "solid"
      },
      "itemStyle": {
        "color": "#0f4c81"
      }
    },
    {
      "name": "Ages 65 and older",
      "type": "line",
      "data": [
        57.79,
        59.69,
        61.52,
        63.33,
        65.11,
        66.8,
        68.38,
        69.87,
        71.18,
        72.26,
        73.2,
        74.05,
        74.91,
        75.83,
        76.73,
        77.35,
        77.73,
        78.01,
        78.29,
        78.49,
        78.77,
        79.05,
        79.38,
        79.83,
        80.28,
        80.76,
        81.23,
        81.64,
        82.13
      ],
      "showSymbol": true,
      "symbol": "diamond",
      "symbolSize": 7,
      "lineStyle": {
        "width": 3,
        "type": "dashed"
      },
      "itemStyle": {
        "color": "#d94801"
      },
      "markLine": {
        "silent": true,
        "symbol": "none",
        "lineStyle": {
          "color": "#64748b",
          "type": "dotted",
          "width": 1
        },
        "label": {
          "formatter": "2029: 65+ overtakes under-18s",
          "color": "#475569",
          "fontSize": 11
        },
        "data": [
          {
            "xAxis": "2029"
          }
        ]
      }
    }
  ],
  "color": [
    "#0f4c81",
    "#d94801",
    "#2a9d8f",
    "#6d28d9"
  ]
}
