{
  "alt": "Line chart of three shares by year from 2018 to 2024. In the first view the lines for alcohol-induced deaths and suicide run near the top, the line for drug overdose runs lower, and each line moves within a band of several points across the years. In the second view the share of residents in withheld county-years is much smaller than the share of county-years, the alcohol-induced line is the highest, and the overdose and alcohol-induced lines fall from 2018 into the early 2020s.",
  "caption": "The withheld share of county-years is large in every year, and the residents it covers are a small share of the population. Drug overdose has the smallest withheld share in every year. The first view plots the share of county-years whose count WONDER withholds, a count above zero and below {fact:w_floor}; the second plots the share of residents living in those county-years.",
  "data": [
    {
      "cause": "Drug overdose",
      "measure": "counties",
      "n": 1541,
      "value": 49.05,
      "year": 2018
    },
    {
      "cause": "Drug overdose",
      "measure": "residents",
      "n": 1541,
      "value": 12.31,
      "year": 2018
    },
    {
      "cause": "Drug overdose",
      "measure": "counties",
      "n": 1586,
      "value": 50.48,
      "year": 2019
    },
    {
      "cause": "Drug overdose",
      "measure": "residents",
      "n": 1586,
      "value": 12.32,
      "year": 2019
    },
    {
      "cause": "Drug overdose",
      "measure": "counties",
      "n": 1504,
      "value": 47.87,
      "year": 2020
    },
    {
      "cause": "Drug overdose",
      "measure": "residents",
      "n": 1504,
      "value": 10.09,
      "year": 2020
    },
    {
      "cause": "Drug overdose",
      "measure": "counties",
      "n": 1400,
      "value": 44.56,
      "year": 2021
    },
    {
      "cause": "Drug overdose",
      "measure": "residents",
      "n": 1400,
      "value": 8.79,
      "year": 2021
    },
    {
      "cause": "Drug overdose",
      "measure": "counties",
      "n": 1413,
      "value": 44.97,
      "year": 2022
    },
    {
      "cause": "Drug overdose",
      "measure": "residents",
      "n": 1413,
      "value": 8.56,
      "year": 2022
    },
    {
      "cause": "Drug overdose",
      "measure": "counties",
      "n": 1426,
      "value": 45.39,
      "year": 2023
    },
    {
      "cause": "Drug overdose",
      "measure": "residents",
      "n": 1426,
      "value": 8.64,
      "year": 2023
    },
    {
      "cause": "Drug overdose",
      "measure": "counties",
      "n": 1535,
      "value": 48.85,
      "year": 2024
    },
    {
      "cause": "Drug overdose",
      "measure": "residents",
      "n": 1535,
      "value": 10.78,
      "year": 2024
    },
    {
      "cause": "Alcohol-induced",
      "measure": "counties",
      "n": 1863,
      "value": 59.29,
      "year": 2018
    },
    {
      "cause": "Alcohol-induced",
      "measure": "residents",
      "n": 1863,
      "value": 17.42,
      "year": 2018
    },
    {
      "cause": "Alcohol-induced",
      "measure": "counties",
      "n": 1881,
      "value": 59.87,
      "year": 2019
    },
    {
      "cause": "Alcohol-induced",
      "measure": "residents",
      "n": 1881,
      "value": 16.91,
      "year": 2019
    },
    {
      "cause": "Alcohol-induced",
      "measure": "counties",
      "n": 1805,
      "value": 57.45,
      "year": 2020
    },
    {
      "cause": "Alcohol-induced",
      "measure": "residents",
      "n": 1805,
      "value": 14.26,
      "year": 2020
    },
    {
      "cause": "Alcohol-induced",
      "measure": "counties",
      "n": 1762,
      "value": 56.08,
      "year": 2021
    },
    {
      "cause": "Alcohol-induced",
      "measure": "residents",
      "n": 1762,
      "value": 12.52,
      "year": 2021
    },
    {
      "cause": "Alcohol-induced",
      "measure": "counties",
      "n": 1801,
      "value": 57.32,
      "year": 2022
    },
    {
      "cause": "Alcohol-induced",
      "measure": "residents",
      "n": 1801,
      "value": 13.68,
      "year": 2022
    },
    {
      "cause": "Alcohol-induced",
      "measure": "counties",
      "n": 1797,
      "value": 57.19,
      "year": 2023
    },
    {
      "cause": "Alcohol-induced",
      "measure": "residents",
      "n": 1797,
      "value": 14.1,
      "year": 2023
    },
    {
      "cause": "Alcohol-induced",
      "measure": "counties",
      "n": 1820,
      "value": 57.92,
      "year": 2024
    },
    {
      "cause": "Alcohol-induced",
      "measure": "residents",
      "n": 1820,
      "value": 13.96,
      "year": 2024
    },
    {
      "cause": "Suicide",
      "measure": "counties",
      "n": 1798,
      "value": 57.22,
      "year": 2018
    },
    {
      "cause": "Suicide",
      "measure": "residents",
      "n": 1798,
      "value": 12.26,
      "year": 2018
    },
    {
      "cause": "Suicide",
      "measure": "counties",
      "n": 1820,
      "value": 57.92,
      "year": 2019
    },
    {
      "cause": "Suicide",
      "measure": "residents",
      "n": 1820,
      "value": 12.42,
      "year": 2019
    },
    {
      "cause": "Suicide",
      "measure": "counties",
      "n": 1832,
      "value": 58.31,
      "year": 2020
    },
    {
      "cause": "Suicide",
      "measure": "residents",
      "n": 1832,
      "value": 12.67,
      "year": 2020
    },
    {
      "cause": "Suicide",
      "measure": "counties",
      "n": 1801,
      "value": 57.32,
      "year": 2021
    },
    {
      "cause": "Suicide",
      "measure": "residents",
      "n": 1801,
      "value": 11.9,
      "year": 2021
    },
    {
      "cause": "Suicide",
      "measure": "counties",
      "n": 1792,
      "value": 57.03,
      "year": 2022
    },
    {
      "cause": "Suicide",
      "measure": "residents",
      "n": 1792,
      "value": 12.14,
      "year": 2022
    },
    {
      "cause": "Suicide",
      "measure": "counties",
      "n": 1792,
      "value": 57.03,
      "year": 2023
    },
    {
      "cause": "Suicide",
      "measure": "residents",
      "n": 1792,
      "value": 11.97,
      "year": 2023
    },
    {
      "cause": "Suicide",
      "measure": "counties",
      "n": 1781,
      "value": 56.68,
      "year": 2024
    },
    {
      "cause": "Suicide",
      "measure": "residents",
      "n": 1781,
      "value": 11.81,
      "year": 2024
    }
  ],
  "id": "withheld_by_year",
  "notes": [
    "These are full counts of the {fact:n_counties} counties in WONDER's county files, so the lines carry no sampling interval. A county-year is withheld when its count is above zero and below {fact:w_floor}; a count of zero is published.",
    "Residents come from the county population that WONDER publishes with every cell, withheld or not. Connecticut's {fact:ct_n} counties have no WONDER population in 2022 to 2024 and are left out of the resident shares in those years.",
    "Rates are not plotted. Drug overdose is drug poisoning of any intent, so an overdose recorded as a suicide is in both the drug and the suicide counts. North Carolina's 2023 overdose counts in these files predate the state's amended death certificates and are low."
  ],
  "source": "CDC WONDER underlying cause of death (single race), county files, 2018-2024; full counts",
  "spec": {
    "bandSeries": [],
    "colors": {
      "Alcohol-induced": "alcohol",
      "Drug overdose": "overdose",
      "Suicide": "suicide"
    },
    "n": "n",
    "series": "cause",
    "x": "year",
    "xDomain": [
      2018,
      2024
    ],
    "xLabel": "Year",
    "xTicks": "data",
    "y": "value",
    "yDomain": [
      0,
      70
    ],
    "yFormat": {
      "digits": 1
    },
    "yLabel": "County-years with the death count withheld (%)"
  },
  "subtitle": "Share of county-years whose death count CDC WONDER withholds, and share of residents living in a withheld county-year, by year, for drug overdose, alcohol-induced causes and suicide, all counties in the county files",
  "title": "In every year from 2018 to 2024 WONDER withheld between {fact:yr_share_min} and {fact:yr_share_max} of county-year death counts, in county-years that hold between {fact:yr_pop_min} and {fact:yr_pop_max} of residents",
  "type": "line",
  "views": [
    {
      "filter": {
        "measure": "counties"
      },
      "id": "counties",
      "label": "Share of county-years"
    },
    {
      "caption": "Alcohol-induced deaths have the largest share of residents in withheld county-years, and drug overdose and suicide have smaller shares. The overdose share falls from {fact:yr_od_pop_2018} in 2018 to {fact:yr_od_pop_min} in its lowest year and the alcohol-induced share from {fact:yr_alc_pop_2018} to {fact:yr_alc_pop_min}, while the suicide share stays between {fact:yr_su_pop_min} and {fact:yr_su_pop_max}. Each point is the population WONDER publishes for the withheld county-years as a share of the population in all county-years.",
      "filter": {
        "measure": "residents"
      },
      "id": "residents",
      "label": "Share of residents",
      "spec": {
        "yDomain": [
          0,
          20
        ],
        "yLabel": "Residents living in a withheld county-year (%)"
      },
      "title": "The county-years WONDER withholds hold between {fact:yr_pop_min} and {fact:yr_pop_max} of residents in every year from 2018 to 2024"
    }
  ],
  "width": "wide"
}
