{
  "alt": "A line chart of tract life expectancy at birth against the number of high conditions from zero to nine. Life expectancy is {fact:le_c0} years at zero high conditions, falls at every step to {fact:le_c8} years at eight, and is {fact:le_c9} years at nine. The second view shows the difference from the county mean, which is positive for the tracts with the fewest high conditions and negative for the rest.",
  "caption": "The line falls from {fact:le_c0} years where no condition is high to {fact:le_c8} years where eight are high, and ends higher at nine. Life expectancy comes from death records for 2010 to 2015 and is not a PLACES estimate; the count comes from the 2022 PLACES release. The second view subtracts each tract's county mean to compare tracts within counties.",
  "data": [
    {
      "conf_high": 80.37,
      "conf_low": 79.98,
      "count": 0,
      "estimate": 80.18,
      "measure": "level",
      "n_units": 26431
    },
    {
      "conf_high": 80,
      "conf_low": 79.64,
      "count": 1,
      "estimate": 79.82,
      "measure": "level",
      "n_units": 15948
    },
    {
      "conf_high": 78.5,
      "conf_low": 78.18,
      "count": 2,
      "estimate": 78.33,
      "measure": "level",
      "n_units": 8632
    },
    {
      "conf_high": 78.19,
      "conf_low": 77.78,
      "count": 3,
      "estimate": 77.97,
      "measure": "level",
      "n_units": 5599
    },
    {
      "conf_high": 77.32,
      "conf_low": 76.79,
      "count": 4,
      "estimate": 77.06,
      "measure": "level",
      "n_units": 4541
    },
    {
      "conf_high": 76.72,
      "conf_low": 76.18,
      "count": 5,
      "estimate": 76.45,
      "measure": "level",
      "n_units": 4162
    },
    {
      "conf_high": 76.38,
      "conf_low": 75.96,
      "count": 6,
      "estimate": 76.16,
      "measure": "level",
      "n_units": 4602
    },
    {
      "conf_high": 74.84,
      "conf_low": 74.35,
      "count": 7,
      "estimate": 74.59,
      "measure": "level",
      "n_units": 4248
    },
    {
      "conf_high": 74.3,
      "conf_low": 73.94,
      "count": 8,
      "estimate": 74.12,
      "measure": "level",
      "n_units": 2898
    },
    {
      "conf_high": 75.41,
      "conf_low": 74.93,
      "count": 9,
      "estimate": 75.17,
      "measure": "level",
      "n_units": 873
    },
    {
      "conf_high": 0.66,
      "conf_low": 0.46,
      "count": 0,
      "estimate": 0.56,
      "measure": "dev",
      "n_units": 26417
    },
    {
      "conf_high": 0.8,
      "conf_low": 0.61,
      "count": 1,
      "estimate": 0.7,
      "measure": "dev",
      "n_units": 15927
    },
    {
      "conf_high": -0.23,
      "conf_low": -0.48,
      "count": 2,
      "estimate": -0.35,
      "measure": "dev",
      "n_units": 8612
    },
    {
      "conf_high": -0.18,
      "conf_low": -0.56,
      "count": 3,
      "estimate": -0.36,
      "measure": "dev",
      "n_units": 5567
    },
    {
      "conf_high": -0.77,
      "conf_low": -1.25,
      "count": 4,
      "estimate": -1,
      "measure": "dev",
      "n_units": 4511
    },
    {
      "conf_high": -1.02,
      "conf_low": -1.5,
      "count": 5,
      "estimate": -1.26,
      "measure": "dev",
      "n_units": 4135
    },
    {
      "conf_high": -0.98,
      "conf_low": -1.29,
      "count": 6,
      "estimate": -1.14,
      "measure": "dev",
      "n_units": 4572
    },
    {
      "conf_high": -1.7,
      "conf_low": -2.16,
      "count": 7,
      "estimate": -1.94,
      "measure": "dev",
      "n_units": 4219
    },
    {
      "conf_high": -1.6,
      "conf_low": -2,
      "count": 8,
      "estimate": -1.8,
      "measure": "dev",
      "n_units": 2889
    },
    {
      "conf_high": -0.29,
      "conf_low": -0.64,
      "count": 9,
      "estimate": -0.47,
      "measure": "dev",
      "n_units": 871
    }
  ],
  "id": "life_expectancy_by_count",
  "notes": [
    "Tract life expectancy covers 2010 to 2015 and the conditions cover 2022, so the two describe different years. USALEEP estimates were area-weighted from 2010 tracts onto 2020 tracts and suit comparisons of groups of tracts, not single tracts. The within-county view leaves out counties with a single USALEEP tract in the sample. Connecticut tracts carry planning-region codes in PLACES, which serve as its counties for the bootstrap.",
    "Within a county the count varies only through the composition of tract residents, which also moves life expectancy. Life expectancy is not affected by the age mix of a tract the way crude prevalence is, which makes it a check on whether the count reflects more than age. The count itself comes from PLACES modeled estimates and carries the caveats in the notes to the earlier figures."
  ],
  "source": "CDC PLACES 2024 release (BRFSS 2022), USALEEP life expectancy 2010-2015 (area-weighted onto 2020 tracts) and ACS 2019-2023; modeled estimates, population-weighted (ACS tract population)",
  "spec": {
    "endLabels": false,
    "hi": "conf_high",
    "lo": "conf_low",
    "n": "n_units",
    "x": "count",
    "xDomain": [
      0,
      9
    ],
    "xLabel": "Number of the nine conditions that are high in the tract",
    "xTicks": "data",
    "y": "estimate",
    "yDomain": [
      72,
      82
    ],
    "yFormat": {
      "digits": 1
    },
    "yLabel": "Life expectancy at birth (years)"
  },
  "subtitle": "Population-weighted mean tract life expectancy at birth by number of high conditions, {fact:n_le_tracts} tracts, deaths in 2010 to 2015, institutional tracts dropped",
  "title": "Life expectancy at birth is {fact:le_gap} years shorter in tracts that are high on eight conditions than in tracts that are high on none",
  "type": "line",
  "views": [
    {
      "filter": {
        "measure": "level"
      },
      "id": "level",
      "label": "Life expectancy (years)"
    },
    {
      "filter": {
        "measure": "dev"
      },
      "id": "dev",
      "label": "Difference from the county mean",
      "spec": {
        "yDomain": [
          -4,
          2
        ],
        "yFormat": {
          "digits": 1,
          "signed": true
        },
        "yLabel": "Life expectancy minus the county mean (years)"
      },
      "title": "Within the same county, tracts that are high on seven conditions have life expectancy {fact:led_c7} years from the county mean, against {fact:led_c0} for tracts that are high on none"
    }
  ],
  "width": "wide"
}
