{
  "alt": "Three tabs, each plotting ten tenths of Cook County residents ranked by cluster firearm homicide rate. The first tab shows bars rising from zero in the lowest tenths to the highest rate in the tenth tenth, the second shows life expectancy similar across the lowest tenths and lowest in the top two, and the third shows the deprivation rank highest in the top two.",
  "caption": "As the homicide rate rises across the tenths, life expectancy falls and the deprivation rank rises, and the two highest tenths stand apart from the other eight on both. The tabs plot the population-weighted mean of tract values within each tenth with 95% intervals from a bootstrap over clusters.",
  "data": [],
  "id": "cook_deciles",
  "notes": [
    "The unit is the tract cluster. CDC publishes one rate for each group of neighboring tracts, and tracts inherit it. Tenths hold equal numbers of residents among the {fact:cook_cov} of Cook County residents who live in clusters with a rate in every year from 2022 to 2024. Clusters with zero recorded deaths hold {fact:cook_zero} of those residents and fill the lowest two tenths and part of the third, ordered among themselves at random with the book's fixed seed, so the first three tenths differ only in who lives there.",
    "The tenths are formed on the rate itself, so the first tab shows how far apart the groups were sorted. Life expectancy is the USALEEP estimate for deaths in 2010 to 2015, area-weighted onto 2020 tracts, with institutional tracts left out; the rates are for 2022 to 2024.",
    "Intervals are 95% intervals from a bootstrap that draws clusters with replacement (replicates and seed are in the methods note)."
  ],
  "source": "CDC Mapping Injury, Overdose, and Violence, tract file, firearm homicide, 2022-2024; modeled estimates for tract clusters; USALEEP 2010-2015; ADI 2023; population-weighted",
  "spec": {
    "panels": [
      {
        "figure": {
          "alt": "Bar chart of ten tenths of Cook County residents. The first two bars have no height, the middle bars rise, and the tenth bar is the tallest, with an interval above that of the ninth.",
          "caption": "The bars are zero for the lowest two tenths and climb to the highest tenth, whose interval lies above that of the ninth. Each bar is the population-weighted mean of cluster rates with a 95% interval.",
          "data": [
            {
              "conf_high": null,
              "conf_low": null,
              "estimate": 0,
              "n_units": 30,
              "tenth": 1
            },
            {
              "conf_high": null,
              "conf_low": null,
              "estimate": 0,
              "n_units": 30,
              "tenth": 2
            },
            {
              "conf_high": 0.49,
              "conf_low": 0.11,
              "estimate": 0.3,
              "n_units": 27,
              "tenth": 3
            },
            {
              "conf_high": 2.13,
              "conf_low": 1.85,
              "estimate": 1.99,
              "n_units": 27,
              "tenth": 4
            },
            {
              "conf_high": 3.25,
              "conf_low": 2.87,
              "estimate": 3.05,
              "n_units": 27,
              "tenth": 5
            },
            {
              "conf_high": 5.83,
              "conf_low": 5.3,
              "estimate": 5.57,
              "n_units": 26,
              "tenth": 6
            },
            {
              "conf_high": 10.65,
              "conf_low": 9.18,
              "estimate": 9.91,
              "n_units": 30,
              "tenth": 7
            },
            {
              "conf_high": 17.03,
              "conf_low": 15.55,
              "estimate": 16.29,
              "n_units": 25,
              "tenth": 8
            },
            {
              "conf_high": 30.45,
              "conf_low": 25.2,
              "estimate": 27.75,
              "n_units": 31,
              "tenth": 9
            },
            {
              "conf_high": 65.05,
              "conf_low": 55.83,
              "estimate": 60.03,
              "n_units": 26,
              "tenth": 10
            }
          ],
          "id": "cook_deciles_rate",
          "spec": {
            "category": "tenth",
            "categoryLabel": "Tenth of Cook County residents, clusters ranked by firearm homicide rate (1 lowest, 10 highest)",
            "format": {
              "digits": 1
            },
            "hi": "conf_high",
            "lo": "conf_low",
            "n": "n_units",
            "orientation": "v",
            "sort": "data",
            "value": "estimate",
            "valueLabel": "Firearm homicide deaths per 100,000 residents per year"
          },
          "subtitle": "Mean firearm homicide deaths per 100,000 residents a year, 2022 to 2024, by tenth of residents",
          "title": "The highest tenth of Cook County residents lives in clusters with a rate of {fact:cook_top_fa} per hundred thousand residents",
          "type": "bar"
        },
        "label": "Firearm homicide rate"
      },
      {
        "figure": {
          "alt": "Line chart of life expectancy across ten tenths of Cook County residents. The line is level near the left, drifts down through the middle, then drops to its lowest points at the ninth and tenth tenths, below the intervals of the other eight.",
          "caption": "Life expectancy is similar across the lowest three tenths and lowest in the top two tenths, whose intervals lie below those of the other eight. The line plots the population-weighted mean of tract values with a 95% interval from a bootstrap over clusters.",
          "data": [
            {
              "conf_high": 81.38,
              "conf_low": 79.72,
              "estimate": 80.59,
              "n_units": 30,
              "tenth": 1
            },
            {
              "conf_high": 82.42,
              "conf_low": 80.94,
              "estimate": 81.65,
              "n_units": 30,
              "tenth": 2
            },
            {
              "conf_high": 81.92,
              "conf_low": 80.26,
              "estimate": 81.05,
              "n_units": 27,
              "tenth": 3
            },
            {
              "conf_high": 81.02,
              "conf_low": 79.85,
              "estimate": 80.43,
              "n_units": 27,
              "tenth": 4
            },
            {
              "conf_high": 80.24,
              "conf_low": 78.69,
              "estimate": 79.48,
              "n_units": 25,
              "tenth": 5
            },
            {
              "conf_high": 80.21,
              "conf_low": 78.93,
              "estimate": 79.56,
              "n_units": 26,
              "tenth": 6
            },
            {
              "conf_high": 78.58,
              "conf_low": 77.17,
              "estimate": 77.92,
              "n_units": 30,
              "tenth": 7
            },
            {
              "conf_high": 78.08,
              "conf_low": 76.49,
              "estimate": 77.27,
              "n_units": 25,
              "tenth": 8
            },
            {
              "conf_high": 75.93,
              "conf_low": 74.39,
              "estimate": 75.19,
              "n_units": 31,
              "tenth": 9
            },
            {
              "conf_high": 72.39,
              "conf_low": 70.99,
              "estimate": 71.69,
              "n_units": 26,
              "tenth": 10
            }
          ],
          "id": "cook_deciles_le",
          "spec": {
            "hi": "conf_high",
            "lo": "conf_low",
            "n": "n_units",
            "x": "tenth",
            "xDomain": [
              1,
              10
            ],
            "xLabel": "Tenth of Cook County residents, clusters ranked by firearm homicide rate (1 lowest, 10 highest)",
            "xTicks": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10
            ],
            "y": "estimate",
            "yDomain": [
              65,
              90
            ],
            "yFormat": {
              "digits": 1
            },
            "yLabel": "Life expectancy at birth (years), deaths in 2010 to 2015"
          },
          "subtitle": "Population-weighted mean life expectancy at birth, deaths in 2010 to 2015, by tenth of residents ranked by firearm homicide rate of the cluster, 2022 to 2024",
          "title": "Life expectancy for deaths in 2010 to 2015 falls to {fact:cook_top_le} years in the highest tenth of Cook County clusters",
          "type": "line"
        },
        "label": "Life expectancy"
      },
      {
        "figure": {
          "alt": "Line chart of the deprivation rank across ten tenths of Cook County residents. The line is low and uneven across the first six tenths, then rises to its highest points at the ninth and tenth tenths.",
          "caption": "The rank is higher in the top two tenths than in any of the other eight, and neighboring tenths among the lowest six have overlapping intervals. The line plots the population-weighted mean of tract ranks with a 95% interval from a bootstrap over clusters.",
          "data": [
            {
              "conf_high": 39.52,
              "conf_low": 30.9,
              "estimate": 35.31,
              "n_units": 30,
              "tenth": 1
            },
            {
              "conf_high": 34.07,
              "conf_low": 23.53,
              "estimate": 29.05,
              "n_units": 30,
              "tenth": 2
            },
            {
              "conf_high": 37.86,
              "conf_low": 27.25,
              "estimate": 32.88,
              "n_units": 27,
              "tenth": 3
            },
            {
              "conf_high": 44.38,
              "conf_low": 31.99,
              "estimate": 37.79,
              "n_units": 27,
              "tenth": 4
            },
            {
              "conf_high": 44.79,
              "conf_low": 33.73,
              "estimate": 39.49,
              "n_units": 27,
              "tenth": 5
            },
            {
              "conf_high": 46.1,
              "conf_low": 34.81,
              "estimate": 40.18,
              "n_units": 26,
              "tenth": 6
            },
            {
              "conf_high": 56.36,
              "conf_low": 48.78,
              "estimate": 52.7,
              "n_units": 30,
              "tenth": 7
            },
            {
              "conf_high": 63.59,
              "conf_low": 55.39,
              "estimate": 59.58,
              "n_units": 25,
              "tenth": 8
            },
            {
              "conf_high": 74.67,
              "conf_low": 64.85,
              "estimate": 69.67,
              "n_units": 31,
              "tenth": 9
            },
            {
              "conf_high": 78.28,
              "conf_low": 71.04,
              "estimate": 74.37,
              "n_units": 26,
              "tenth": 10
            }
          ],
          "id": "cook_deciles_adi",
          "spec": {
            "hi": "conf_high",
            "lo": "conf_low",
            "n": "n_units",
            "x": "tenth",
            "xDomain": [
              1,
              10
            ],
            "xLabel": "Tenth of Cook County residents, clusters ranked by firearm homicide rate (1 lowest, 10 highest)",
            "xTicks": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10
            ],
            "y": "estimate",
            "yDomain": [
              0,
              100
            ],
            "yFormat": {
              "digits": 0
            },
            "yLabel": "Area deprivation index national rank (1 least, 100 most deprived)"
          },
          "subtitle": "Population-weighted mean Area Deprivation Index national rank, 2023, by tenth of residents ranked by firearm homicide rate of the cluster, 2022 to 2024",
          "title": "The deprivation rank is {fact:cook_top_adi} in the highest tenth of Cook County clusters",
          "type": "line"
        },
        "label": "Deprivation"
      }
    ]
  },
  "subtitle": "Cook County residents in tenths by the firearm homicide rate of their tract cluster, 2022 to 2024: the rate, life expectancy at birth for deaths in 2010 to 2015, and the Area Deprivation Index",
  "title": "In Cook County, residents of the highest-rate tenth of clusters have a life expectancy of {fact:cook_top_le} years (deaths in 2010 to 2015), {fact:cook_le_gap} fewer than residents of clusters with no recorded deaths",
  "type": "tabs",
  "width": "wide"
}
