{
  "alt": "Horizontal stacked bars for six sizes of county, each split into withheld, published zero and published counts at or above the floor. In the overdose view the withheld segment is longest for counties of {fact:sz_c1} to {fact:sz_c2} residents, shorter for the smallest counties, where published zeros fill much of the bar, and absent for the largest counties. The alcohol-induced and suicide views have the same shape with longer withheld segments.",
  "caption": "The withheld segment is longest for counties of middling size and short at both ends: in the smallest counties most county-years have no deaths and WONDER publishes the zero, and in the largest counties nearly every count reaches {fact:w_floor}. Counties of {fact:nat_thr} or more residents are withheld in few county-years, and counties of {fact:lbd_thr} or more in almost none. Each bar splits the county-years of one size of county. The buttons switch the kind of death.",
  "data": [
    {
      "cause": "Drug overdose",
      "counties": 729,
      "county_years": 4374,
      "segment": "Withheld",
      "share": 45.18,
      "size": "Under 10,000"
    },
    {
      "cause": "Drug overdose",
      "counties": 729,
      "county_years": 4374,
      "segment": "Published, zero deaths",
      "share": 54.66,
      "size": "Under 10,000"
    },
    {
      "cause": "Drug overdose",
      "counties": 729,
      "county_years": 4374,
      "segment": "Published, 10 or more deaths",
      "share": 0.16,
      "size": "Under 10,000"
    },
    {
      "cause": "Drug overdose",
      "counties": 799,
      "county_years": 4794,
      "segment": "Withheld",
      "share": 82.29,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 799,
      "county_years": 4794,
      "segment": "Published, zero deaths",
      "share": 11.22,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 799,
      "county_years": 4794,
      "segment": "Published, 10 or more deaths",
      "share": 6.49,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 619,
      "county_years": 3714,
      "segment": "Withheld",
      "share": 64.38,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 619,
      "county_years": 3714,
      "segment": "Published, zero deaths",
      "share": 1.72,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 619,
      "county_years": 3714,
      "segment": "Published, 10 or more deaths",
      "share": 33.9,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 389,
      "county_years": 2334,
      "segment": "Withheld",
      "share": 21.77,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 389,
      "county_years": 2334,
      "segment": "Published, zero deaths",
      "share": 0.09,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 389,
      "county_years": 2334,
      "segment": "Published, 10 or more deaths",
      "share": 78.15,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 329,
      "county_years": 1974,
      "segment": "Withheld",
      "share": 2.53,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 329,
      "county_years": 1974,
      "segment": "Published, zero deaths",
      "share": 0,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 329,
      "county_years": 1974,
      "segment": "Published, 10 or more deaths",
      "share": 97.47,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Drug overdose",
      "counties": 277,
      "county_years": 1662,
      "segment": "Withheld",
      "share": 0,
      "size": "250,000 or more"
    },
    {
      "cause": "Drug overdose",
      "counties": 277,
      "county_years": 1662,
      "segment": "Published, zero deaths",
      "share": 0,
      "size": "250,000 or more"
    },
    {
      "cause": "Drug overdose",
      "counties": 277,
      "county_years": 1662,
      "segment": "Published, 10 or more deaths",
      "share": 100,
      "size": "250,000 or more"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 729,
      "county_years": 4374,
      "segment": "Withheld",
      "share": 54.94,
      "size": "Under 10,000"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 729,
      "county_years": 4374,
      "segment": "Published, zero deaths",
      "share": 44.79,
      "size": "Under 10,000"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 729,
      "county_years": 4374,
      "segment": "Published, 10 or more deaths",
      "share": 0.27,
      "size": "Under 10,000"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 799,
      "county_years": 4794,
      "segment": "Withheld",
      "share": 84.27,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 799,
      "county_years": 4794,
      "segment": "Published, zero deaths",
      "share": 14.12,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 799,
      "county_years": 4794,
      "segment": "Published, 10 or more deaths",
      "share": 1.61,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 619,
      "county_years": 3714,
      "segment": "Withheld",
      "share": 84.17,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 619,
      "county_years": 3714,
      "segment": "Published, zero deaths",
      "share": 1.99,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 619,
      "county_years": 3714,
      "segment": "Published, 10 or more deaths",
      "share": 13.84,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 389,
      "county_years": 2334,
      "segment": "Withheld",
      "share": 49.14,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 389,
      "county_years": 2334,
      "segment": "Published, zero deaths",
      "share": 0.39,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 389,
      "county_years": 2334,
      "segment": "Published, 10 or more deaths",
      "share": 50.47,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 329,
      "county_years": 1974,
      "segment": "Withheld",
      "share": 9.73,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 329,
      "county_years": 1974,
      "segment": "Published, zero deaths",
      "share": 0,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 329,
      "county_years": 1974,
      "segment": "Published, 10 or more deaths",
      "share": 90.27,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 277,
      "county_years": 1662,
      "segment": "Withheld",
      "share": 0.06,
      "size": "250,000 or more"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 277,
      "county_years": 1662,
      "segment": "Published, zero deaths",
      "share": 0,
      "size": "250,000 or more"
    },
    {
      "cause": "Alcohol-induced",
      "counties": 277,
      "county_years": 1662,
      "segment": "Published, 10 or more deaths",
      "share": 99.94,
      "size": "250,000 or more"
    },
    {
      "cause": "Suicide",
      "counties": 729,
      "county_years": 4374,
      "segment": "Withheld",
      "share": 61.34,
      "size": "Under 10,000"
    },
    {
      "cause": "Suicide",
      "counties": 729,
      "county_years": 4374,
      "segment": "Published, zero deaths",
      "share": 38.45,
      "size": "Under 10,000"
    },
    {
      "cause": "Suicide",
      "counties": 729,
      "county_years": 4374,
      "segment": "Published, 10 or more deaths",
      "share": 0.21,
      "size": "Under 10,000"
    },
    {
      "cause": "Suicide",
      "counties": 799,
      "county_years": 4794,
      "segment": "Withheld",
      "share": 93.12,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Suicide",
      "counties": 799,
      "county_years": 4794,
      "segment": "Published, zero deaths",
      "share": 5.74,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Suicide",
      "counties": 799,
      "county_years": 4794,
      "segment": "Published, 10 or more deaths",
      "share": 1.15,
      "size": "10,000 to 24,999"
    },
    {
      "cause": "Suicide",
      "counties": 619,
      "county_years": 3714,
      "segment": "Withheld",
      "share": 80.67,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Suicide",
      "counties": 619,
      "county_years": 3714,
      "segment": "Published, zero deaths",
      "share": 0.59,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Suicide",
      "counties": 619,
      "county_years": 3714,
      "segment": "Published, 10 or more deaths",
      "share": 18.74,
      "size": "25,000 to 49,999"
    },
    {
      "cause": "Suicide",
      "counties": 389,
      "county_years": 2334,
      "segment": "Withheld",
      "share": 28.36,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Suicide",
      "counties": 389,
      "county_years": 2334,
      "segment": "Published, zero deaths",
      "share": 0.04,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Suicide",
      "counties": 389,
      "county_years": 2334,
      "segment": "Published, 10 or more deaths",
      "share": 71.59,
      "size": "50,000 to 99,999"
    },
    {
      "cause": "Suicide",
      "counties": 329,
      "county_years": 1974,
      "segment": "Withheld",
      "share": 1.52,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Suicide",
      "counties": 329,
      "county_years": 1974,
      "segment": "Published, zero deaths",
      "share": 0,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Suicide",
      "counties": 329,
      "county_years": 1974,
      "segment": "Published, 10 or more deaths",
      "share": 98.48,
      "size": "100,000 to 249,999"
    },
    {
      "cause": "Suicide",
      "counties": 277,
      "county_years": 1662,
      "segment": "Withheld",
      "share": 0,
      "size": "250,000 or more"
    },
    {
      "cause": "Suicide",
      "counties": 277,
      "county_years": 1662,
      "segment": "Published, zero deaths",
      "share": 0,
      "size": "250,000 or more"
    },
    {
      "cause": "Suicide",
      "counties": 277,
      "county_years": 1662,
      "segment": "Published, 10 or more deaths",
      "share": 100,
      "size": "250,000 or more"
    }
  ],
  "id": "withheld_by_size",
  "notes": [
    "Size is a county's mean WONDER population over 2018 to 2023. The boundaries are {fact:sz_c1}, {fact:sz_c2}, {fact:sz_c3}, {fact:nat_thr} and {fact:lbd_thr} residents; the last two are the populations at which WONDER names a county in its birth products, although a county's class here and its being named do not coincide exactly.",
    "These are shares of all county-years in each class, including Connecticut's {fact:ct_n} counties, so the bars are full counts with no interval. A published zero is a real zero; a withheld count is missing."
  ],
  "source": "CDC WONDER underlying cause of death (single race), county files, 2018-2023; full counts",
  "spec": {
    "category": "size",
    "colors": {
      "Published, 10 or more deaths": "total",
      "Published, zero deaths": "accent",
      "Withheld": "muted"
    },
    "format": {
      "digits": 1
    },
    "group": "segment",
    "normalize": true,
    "orientation": "h",
    "sort": "data",
    "stack": true,
    "value": "share",
    "valueLabel": "Share of county-years (%)"
  },
  "subtitle": "Share of county-years withheld, published as zero and published with at least 10 deaths, by size of county (mean residents 2018 to 2023), drug overdose, alcohol-induced causes and suicide",
  "title": "WONDER withholds {fact:sz_wh_od_1} of overdose county-years in counties of {fact:sz_c1} to {fact:sz_c2} residents and {fact:sz_wh_od_0} in smaller counties, where {fact:sz_zero_od_0} are published as zero",
  "type": "bar",
  "views": [
    {
      "filter": {
        "cause": "Drug overdose"
      },
      "id": "od",
      "label": "Drug overdose"
    },
    {
      "caption": "Alcohol-induced deaths are withheld more often than overdose deaths in counties of {fact:nat_thr} to {fact:lbd_thr} residents ({fact:sz_wh_alc_4} against {fact:sz_wh_od_4}).",
      "filter": {
        "cause": "Alcohol-induced"
      },
      "id": "alc",
      "label": "Alcohol-induced",
      "title": "WONDER withholds {fact:sz_wh_alc_1} of alcohol-induced county-years in counties of {fact:sz_c1} to {fact:sz_c2} residents and {fact:sz_wh_alc_0} in smaller counties, where {fact:sz_zero_alc_0} are published as zero"
    },
    {
      "caption": "Suicide is withheld in more county-years than overdose in every class under {fact:nat_thr} residents, and published as zero in fewer county-years in the smallest counties ({fact:sz_zero_su_0} against {fact:sz_zero_od_0}).",
      "filter": {
        "cause": "Suicide"
      },
      "id": "su",
      "label": "Suicide",
      "title": "WONDER withholds {fact:sz_wh_su_1} of suicide county-years in counties of {fact:sz_c1} to {fact:sz_c2} residents and {fact:sz_wh_su_0} in smaller counties, where {fact:sz_zero_su_0} are published as zero"
    }
  ],
  "width": "wide"
}
