{
  "alt": "Line chart with four lines across six mother's age bands, showing the percent change in births from 2018 to 2024 for four groups of counties. All lines slope upward with age. The line for the largest declines runs from the lowest values at the youngest band to near zero at ages {fact:band_3539} and above zero at ages {fact:band_4044}. The line for the largest gains is the highest line, below zero for the two youngest bands and above zero from ages {fact:band_2529}.",
  "caption": "All four lines rise with mother's age. The line for the largest declines stays below zero until the oldest band, and the line for the largest gains is above zero from the third band. Groups are defined by the change in total births, so the figure splits each group's change by age and tests nothing.",
  "data": [
    {
      "age": "15 to 19",
      "age_position": 1,
      "change": -32.87,
      "group": "Largest declines",
      "n_units": 144
    },
    {
      "age": "20 to 24",
      "age_position": 2,
      "change": -25.09,
      "group": "Largest declines",
      "n_units": 144
    },
    {
      "age": "25 to 29",
      "age_position": 3,
      "change": -21.11,
      "group": "Largest declines",
      "n_units": 144
    },
    {
      "age": "30 to 34",
      "age_position": 4,
      "change": -8.77,
      "group": "Largest declines",
      "n_units": 144
    },
    {
      "age": "35 to 39",
      "age_position": 5,
      "change": -0.06,
      "group": "Largest declines",
      "n_units": 144
    },
    {
      "age": "40 to 44",
      "age_position": 6,
      "change": 9.55,
      "group": "Largest declines",
      "n_units": 144
    },
    {
      "age": "15 to 19",
      "age_position": 1,
      "change": -25.21,
      "group": "Smaller declines",
      "n_units": 145
    },
    {
      "age": "20 to 24",
      "age_position": 2,
      "change": -17.85,
      "group": "Smaller declines",
      "n_units": 145
    },
    {
      "age": "25 to 29",
      "age_position": 3,
      "change": -13.39,
      "group": "Smaller declines",
      "n_units": 145
    },
    {
      "age": "30 to 34",
      "age_position": 4,
      "change": -0.67,
      "group": "Smaller declines",
      "n_units": 145
    },
    {
      "age": "35 to 39",
      "age_position": 5,
      "change": 9.07,
      "group": "Smaller declines",
      "n_units": 145
    },
    {
      "age": "40 to 44",
      "age_position": 6,
      "change": 20.34,
      "group": "Smaller declines",
      "n_units": 145
    },
    {
      "age": "15 to 19",
      "age_position": 1,
      "change": -20.9,
      "group": "Little change",
      "n_units": 144
    },
    {
      "age": "20 to 24",
      "age_position": 2,
      "change": -12.76,
      "group": "Little change",
      "n_units": 144
    },
    {
      "age": "25 to 29",
      "age_position": 3,
      "change": -7.43,
      "group": "Little change",
      "n_units": 144
    },
    {
      "age": "30 to 34",
      "age_position": 4,
      "change": 4.5,
      "group": "Little change",
      "n_units": 144
    },
    {
      "age": "35 to 39",
      "age_position": 5,
      "change": 13.88,
      "group": "Little change",
      "n_units": 144
    },
    {
      "age": "40 to 44",
      "age_position": 6,
      "change": 23.02,
      "group": "Little change",
      "n_units": 144
    },
    {
      "age": "15 to 19",
      "age_position": 1,
      "change": -12.97,
      "group": "Largest gains",
      "n_units": 144
    },
    {
      "age": "20 to 24",
      "age_position": 2,
      "change": -4.05,
      "group": "Largest gains",
      "n_units": 145
    },
    {
      "age": "25 to 29",
      "age_position": 3,
      "change": 5.8,
      "group": "Largest gains",
      "n_units": 145
    },
    {
      "age": "30 to 34",
      "age_position": 4,
      "change": 19.11,
      "group": "Largest gains",
      "n_units": 145
    },
    {
      "age": "35 to 39",
      "age_position": 5,
      "change": 24.75,
      "group": "Largest gains",
      "n_units": 145
    },
    {
      "age": "40 to 44",
      "age_position": 6,
      "change": 39.26,
      "group": "Largest gains",
      "n_units": 145
    }
  ],
  "id": "age_change_by_county_change",
  "notes": [
    "The named counties are the {fact:counties_used} that CDC WONDER natality identifies in every year from 2018 to 2024: counties with {fact:wonder_threshold} or more residents in the population vintage WONDER uses, which is earlier than the 2020 Census. WONDER pools the births of every other county in a state into one row, so those counties are not in the named counties.",
    "Counties are sorted into four groups of equal size by their percent change in total births from 2018 to 2024: the largest-decline group has falls of {fact:group_cut_decline} or more, and the largest-gain group has gains of {fact:group_cut_gain} or more. Births are full counts, so no interval is drawn; the groups are formed on the outcome, so an interval would not describe a draw of counties.",
    "A county that withholds a band in 2018 or 2024 is left out of that band's point."
  ],
  "source": "CDC WONDER natality, births in 2018-2024; full counts of births by mother's age; changes pooled over counties in each group",
  "spec": {
    "annotations": [
      {
        "label": "No change",
        "type": "y-rule",
        "y": 0
      }
    ],
    "colors": {
      "Largest declines": "cat5",
      "Largest gains": "cat6",
      "Little change": "muted",
      "Smaller declines": "cat7"
    },
    "n": "n_units",
    "series": "group",
    "x": "age_position",
    "xDomain": [
      1,
      6
    ],
    "xLabel": "Mother's age (years)",
    "xTicks": [
      {
        "label": "15 to 19",
        "value": 1
      },
      {
        "label": "20 to 24",
        "value": 2
      },
      {
        "label": "25 to 29",
        "value": 3
      },
      {
        "label": "30 to 34",
        "value": 4
      },
      {
        "label": "35 to 39",
        "value": 5
      },
      {
        "label": "40 to 44",
        "value": 6
      }
    ],
    "y": "change",
    "yDomain": [
      -40,
      50
    ],
    "yFormat": {
      "digits": 1
    },
    "yLabel": "Change in births, 2018 to 2024 (%)"
  },
  "subtitle": "Pooled change in live births from 2018 to 2024 by mother's age band, in four equal-sized groups of the {fact:counties_used} named counties formed by the change in their total births",
  "title": "Counties with the largest declines in births lost births at every age under {fact:age_35}, and counties with the largest gains added births at every age from {fact:age_25}",
  "type": "line",
  "width": "wide"
}
