{
  "alt": "Overlapping histograms of the difference between a resident's tract percentile and county percentile. Both peak near zero and are wide. The distribution that ranks tracts and counties as units is centered to the right of zero, and the distribution that ranks them by residents is centered near zero.",
  "caption": "Both distributions peak near zero and are wide; the distribution among residents is centered on zero and the distribution among tracts and counties is centered to the right. A bar is the share of residents whose tract percentile exceeds their county's percentile by an amount in the bin, so positive values mean the tract is more deprived than the county. The first distribution ranks tracts and counties by the residents they hold; the second ranks each tract and each county once.",
  "data": [
    {
      "conf_high": 0.0239,
      "conf_low": 0,
      "convention": "Among residents",
      "n": 5,
      "share": 0.0086,
      "x0": -95,
      "x1": -90
    },
    {
      "conf_high": 0.0254,
      "conf_low": 0.003,
      "convention": "Among residents",
      "n": 12,
      "share": 0.0126,
      "x0": -90,
      "x1": -85
    },
    {
      "conf_high": 0.0949,
      "conf_low": 0.0188,
      "convention": "Among residents",
      "n": 48,
      "share": 0.0533,
      "x0": -85,
      "x1": -80
    },
    {
      "conf_high": 0.1359,
      "conf_low": 0.0455,
      "convention": "Among residents",
      "n": 72,
      "share": 0.0862,
      "x0": -80,
      "x1": -75
    },
    {
      "conf_high": 0.2199,
      "conf_low": 0.0961,
      "convention": "Among residents",
      "n": 119,
      "share": 0.1526,
      "x0": -75,
      "x1": -70
    },
    {
      "conf_high": 0.4242,
      "conf_low": 0.196,
      "convention": "Among residents",
      "n": 241,
      "share": 0.3004,
      "x0": -70,
      "x1": -65
    },
    {
      "conf_high": 0.6506,
      "conf_low": 0.3236,
      "convention": "Among residents",
      "n": 345,
      "share": 0.4652,
      "x0": -65,
      "x1": -60
    },
    {
      "conf_high": 0.8407,
      "conf_low": 0.5341,
      "convention": "Among residents",
      "n": 535,
      "share": 0.6797,
      "x0": -60,
      "x1": -55
    },
    {
      "conf_high": 1.2445,
      "conf_low": 0.8079,
      "convention": "Among residents",
      "n": 750,
      "share": 1.0182,
      "x0": -55,
      "x1": -50
    },
    {
      "conf_high": 1.704,
      "conf_low": 1.1645,
      "convention": "Among residents",
      "n": 1050,
      "share": 1.4231,
      "x0": -50,
      "x1": -45
    },
    {
      "conf_high": 2.1165,
      "conf_low": 1.5867,
      "convention": "Among residents",
      "n": 1366,
      "share": 1.847,
      "x0": -45,
      "x1": -40
    },
    {
      "conf_high": 2.7702,
      "conf_low": 2.1893,
      "convention": "Among residents",
      "n": 1801,
      "share": 2.4791,
      "x0": -40,
      "x1": -35
    },
    {
      "conf_high": 3.6231,
      "conf_low": 2.9691,
      "convention": "Among residents",
      "n": 2451,
      "share": 3.2866,
      "x0": -35,
      "x1": -30
    },
    {
      "conf_high": 4.8086,
      "conf_low": 3.9333,
      "convention": "Among residents",
      "n": 3246,
      "share": 4.345,
      "x0": -30,
      "x1": -25
    },
    {
      "conf_high": 5.5203,
      "conf_low": 4.7476,
      "convention": "Among residents",
      "n": 3941,
      "share": 5.1257,
      "x0": -25,
      "x1": -20
    },
    {
      "conf_high": 6.4102,
      "conf_low": 5.6868,
      "convention": "Among residents",
      "n": 4717,
      "share": 6.0419,
      "x0": -20,
      "x1": -15
    },
    {
      "conf_high": 7.5802,
      "conf_low": 6.7134,
      "convention": "Among residents",
      "n": 5618,
      "share": 7.1132,
      "x0": -15,
      "x1": -10
    },
    {
      "conf_high": 9.101,
      "conf_low": 8.062,
      "convention": "Among residents",
      "n": 6675,
      "share": 8.5667,
      "x0": -10,
      "x1": -5
    },
    {
      "conf_high": 10.878,
      "conf_low": 9.512,
      "convention": "Among residents",
      "n": 7779,
      "share": 10.1697,
      "x0": -5,
      "x1": 0
    },
    {
      "conf_high": 9.6919,
      "conf_low": 8.2709,
      "convention": "Among residents",
      "n": 6783,
      "share": 8.9439,
      "x0": 0,
      "x1": 5
    },
    {
      "conf_high": 7.3074,
      "conf_low": 6.5322,
      "convention": "Among residents",
      "n": 5316,
      "share": 6.909,
      "x0": 5,
      "x1": 10
    },
    {
      "conf_high": 6.1629,
      "conf_low": 5.5686,
      "convention": "Among residents",
      "n": 4464,
      "share": 5.856,
      "x0": 10,
      "x1": 15
    },
    {
      "conf_high": 5.005,
      "conf_low": 4.4787,
      "convention": "Among residents",
      "n": 3656,
      "share": 4.7414,
      "x0": 15,
      "x1": 20
    },
    {
      "conf_high": 4.1249,
      "conf_low": 3.6021,
      "convention": "Among residents",
      "n": 3006,
      "share": 3.8658,
      "x0": 20,
      "x1": 25
    },
    {
      "conf_high": 3.8239,
      "conf_low": 3.157,
      "convention": "Among residents",
      "n": 2664,
      "share": 3.4913,
      "x0": 25,
      "x1": 30
    },
    {
      "conf_high": 3.0087,
      "conf_low": 2.4843,
      "convention": "Among residents",
      "n": 2102,
      "share": 2.7484,
      "x0": 30,
      "x1": 35
    },
    {
      "conf_high": 2.4993,
      "conf_low": 1.9644,
      "convention": "Among residents",
      "n": 1678,
      "share": 2.2445,
      "x0": 35,
      "x1": 40
    },
    {
      "conf_high": 2.145,
      "conf_low": 1.5381,
      "convention": "Among residents",
      "n": 1475,
      "share": 1.847,
      "x0": 40,
      "x1": 45
    },
    {
      "conf_high": 1.9032,
      "conf_low": 1.3185,
      "convention": "Among residents",
      "n": 1214,
      "share": 1.6062,
      "x0": 45,
      "x1": 50
    },
    {
      "conf_high": 1.6015,
      "conf_low": 1.0057,
      "convention": "Among residents",
      "n": 981,
      "share": 1.2968,
      "x0": 50,
      "x1": 55
    },
    {
      "conf_high": 1.3719,
      "conf_low": 0.768,
      "convention": "Among residents",
      "n": 765,
      "share": 1.0428,
      "x0": 55,
      "x1": 60
    },
    {
      "conf_high": 1.1601,
      "conf_low": 0.5416,
      "convention": "Among residents",
      "n": 575,
      "share": 0.7999,
      "x0": 60,
      "x1": 65
    },
    {
      "conf_high": 1.0258,
      "conf_low": 0.4532,
      "convention": "Among residents",
      "n": 521,
      "share": 0.6971,
      "x0": 65,
      "x1": 70
    },
    {
      "conf_high": 0.3801,
      "conf_low": 0.208,
      "convention": "Among residents",
      "n": 217,
      "share": 0.2874,
      "x0": 70,
      "x1": 75
    },
    {
      "conf_high": 0.3517,
      "conf_low": 0.1482,
      "convention": "Among residents",
      "n": 164,
      "share": 0.2405,
      "x0": 75,
      "x1": 80
    },
    {
      "conf_high": 0.1918,
      "conf_low": 0.067,
      "convention": "Among residents",
      "n": 83,
      "share": 0.1225,
      "x0": 80,
      "x1": 85
    },
    {
      "conf_high": 0.1127,
      "conf_low": 0.0328,
      "convention": "Among residents",
      "n": 47,
      "share": 0.0678,
      "x0": 85,
      "x1": 90
    },
    {
      "conf_high": 0.0282,
      "conf_low": 0.0055,
      "convention": "Among residents",
      "n": 11,
      "share": 0.0155,
      "x0": 90,
      "x1": 95
    },
    {
      "conf_high": 0.0045,
      "conf_low": 0,
      "convention": "Among residents",
      "n": 2,
      "share": 0.0012,
      "x0": 95,
      "x1": 100
    },
    {
      "conf_high": 0.0018,
      "conf_low": 0,
      "convention": "Among tracts and counties",
      "n": 1,
      "share": 0.0006,
      "x0": -85,
      "x1": -80
    },
    {
      "conf_high": 0.0087,
      "conf_low": 0,
      "convention": "Among tracts and counties",
      "n": 2,
      "share": 0.003,
      "x0": -80,
      "x1": -75
    },
    {
      "conf_high": 0.0422,
      "conf_low": 0.0019,
      "convention": "Among tracts and counties",
      "n": 11,
      "share": 0.0168,
      "x0": -75,
      "x1": -70
    },
    {
      "conf_high": 0.0355,
      "conf_low": 0,
      "convention": "Among tracts and counties",
      "n": 11,
      "share": 0.013,
      "x0": -70,
      "x1": -65
    },
    {
      "conf_high": 0.0778,
      "conf_low": 0.0191,
      "convention": "Among tracts and counties",
      "n": 43,
      "share": 0.0447,
      "x0": -65,
      "x1": -60
    },
    {
      "conf_high": 0.1182,
      "conf_low": 0.0329,
      "convention": "Among tracts and counties",
      "n": 62,
      "share": 0.0718,
      "x0": -60,
      "x1": -55
    },
    {
      "conf_high": 0.175,
      "conf_low": 0.0658,
      "convention": "Among tracts and counties",
      "n": 104,
      "share": 0.1154,
      "x0": -55,
      "x1": -50
    },
    {
      "conf_high": 0.2448,
      "conf_low": 0.1032,
      "convention": "Among tracts and counties",
      "n": 138,
      "share": 0.1662,
      "x0": -50,
      "x1": -45
    },
    {
      "conf_high": 0.3368,
      "conf_low": 0.1844,
      "convention": "Among tracts and counties",
      "n": 210,
      "share": 0.2547,
      "x0": -45,
      "x1": -40
    },
    {
      "conf_high": 0.5014,
      "conf_low": 0.3041,
      "convention": "Among tracts and counties",
      "n": 310,
      "share": 0.3915,
      "x0": -40,
      "x1": -35
    },
    {
      "conf_high": 0.6866,
      "conf_low": 0.4098,
      "convention": "Among tracts and counties",
      "n": 424,
      "share": 0.5376,
      "x0": -35,
      "x1": -30
    },
    {
      "conf_high": 1.0627,
      "conf_low": 0.6657,
      "convention": "Among tracts and counties",
      "n": 667,
      "share": 0.8452,
      "x0": -30,
      "x1": -25
    },
    {
      "conf_high": 1.3749,
      "conf_low": 0.9612,
      "convention": "Among tracts and counties",
      "n": 921,
      "share": 1.1575,
      "x0": -25,
      "x1": -20
    },
    {
      "conf_high": 1.9932,
      "conf_low": 1.4557,
      "convention": "Among tracts and counties",
      "n": 1352,
      "share": 1.7197,
      "x0": -20,
      "x1": -15
    },
    {
      "conf_high": 2.8069,
      "conf_low": 2.1818,
      "convention": "Among tracts and counties",
      "n": 1940,
      "share": 2.4879,
      "x0": -15,
      "x1": -10
    },
    {
      "conf_high": 4.2012,
      "conf_low": 3.5183,
      "convention": "Among tracts and counties",
      "n": 3023,
      "share": 3.8505,
      "x0": -10,
      "x1": -5
    },
    {
      "conf_high": 7.1936,
      "conf_low": 6.477,
      "convention": "Among tracts and counties",
      "n": 5226,
      "share": 6.8268,
      "x0": -5,
      "x1": 0
    },
    {
      "conf_high": 11.4177,
      "conf_low": 9.6747,
      "convention": "Among tracts and counties",
      "n": 7717,
      "share": 10.464,
      "x0": 0,
      "x1": 5
    },
    {
      "conf_high": 9.774,
      "conf_low": 8.7605,
      "convention": "Among tracts and counties",
      "n": 6789,
      "share": 9.2591,
      "x0": 5,
      "x1": 10
    },
    {
      "conf_high": 9.0546,
      "conf_low": 8.2691,
      "convention": "Among tracts and counties",
      "n": 6399,
      "share": 8.6455,
      "x0": 10,
      "x1": 15
    },
    {
      "conf_high": 8.1566,
      "conf_low": 7.4029,
      "convention": "Among tracts and counties",
      "n": 5885,
      "share": 7.7846,
      "x0": 15,
      "x1": 20
    },
    {
      "conf_high": 7.4793,
      "conf_low": 6.7116,
      "convention": "Among tracts and counties",
      "n": 5425,
      "share": 7.0875,
      "x0": 20,
      "x1": 25
    },
    {
      "conf_high": 6.3711,
      "conf_low": 5.8462,
      "convention": "Among tracts and counties",
      "n": 4652,
      "share": 6.1017,
      "x0": 25,
      "x1": 30
    },
    {
      "conf_high": 5.6279,
      "conf_low": 5.1365,
      "convention": "Among tracts and counties",
      "n": 4208,
      "share": 5.3882,
      "x0": 30,
      "x1": 35
    },
    {
      "conf_high": 4.8396,
      "conf_low": 4.3834,
      "convention": "Among tracts and counties",
      "n": 3597,
      "share": 4.6045,
      "x0": 35,
      "x1": 40
    },
    {
      "conf_high": 4.1326,
      "conf_low": 3.6727,
      "convention": "Among tracts and counties",
      "n": 3044,
      "share": 3.8949,
      "x0": 40,
      "x1": 45
    },
    {
      "conf_high": 3.7048,
      "conf_low": 3.2592,
      "convention": "Among tracts and counties",
      "n": 2730,
      "share": 3.479,
      "x0": 45,
      "x1": 50
    },
    {
      "conf_high": 3.2512,
      "conf_low": 2.7683,
      "convention": "Among tracts and counties",
      "n": 2405,
      "share": 3.0171,
      "x0": 50,
      "x1": 55
    },
    {
      "conf_high": 2.985,
      "conf_low": 2.4215,
      "convention": "Among tracts and counties",
      "n": 2134,
      "share": 2.7135,
      "x0": 55,
      "x1": 60
    },
    {
      "conf_high": 2.7118,
      "conf_low": 2.0353,
      "convention": "Among tracts and counties",
      "n": 1859,
      "share": 2.3773,
      "x0": 60,
      "x1": 65
    },
    {
      "conf_high": 2.2161,
      "conf_low": 1.6835,
      "convention": "Among tracts and counties",
      "n": 1530,
      "share": 1.9665,
      "x0": 65,
      "x1": 70
    },
    {
      "conf_high": 1.9472,
      "conf_low": 1.3587,
      "convention": "Among tracts and counties",
      "n": 1302,
      "share": 1.6621,
      "x0": 70,
      "x1": 75
    },
    {
      "conf_high": 1.6965,
      "conf_low": 1.0976,
      "convention": "Among tracts and counties",
      "n": 1095,
      "share": 1.4005,
      "x0": 75,
      "x1": 80
    },
    {
      "conf_high": 1.3246,
      "conf_low": 0.7022,
      "convention": "Among tracts and counties",
      "n": 753,
      "share": 0.9872,
      "x0": 80,
      "x1": 85
    },
    {
      "conf_high": 0.7637,
      "conf_low": 0.3027,
      "convention": "Among tracts and counties",
      "n": 402,
      "share": 0.4971,
      "x0": 85,
      "x1": 90
    },
    {
      "conf_high": 0.2154,
      "conf_low": 0.0995,
      "convention": "Among tracts and counties",
      "n": 116,
      "share": 0.1556,
      "x0": 90,
      "x1": 95
    },
    {
      "conf_high": 0.0229,
      "conf_low": 0.0029,
      "convention": "Among tracts and counties",
      "n": 8,
      "share": 0.0115,
      "x0": 95,
      "x1": 100
    }
  ],
  "id": "tract_county_gap",
  "notes": [
    "Percentiles come from the index in each box. Among residents, a unit's percentile is the share of residents of its box who live in units that score lower; among tracts and counties, it is the share of units that score lower.",
    "Intervals in the tooltip are 95% intervals from a bootstrap over counties (replicates and seed in the methods note). One tract has no county in the county frame and is left out."
  ],
  "source": "ACS 2019-2023 five-year estimates (tracts and counties); population-weighted (bins: shares of residents)",
  "spec": {
    "colors": {
      "Among residents": "cat1",
      "Among tracts and counties": "cat2"
    },
    "reference": 0,
    "referenceLabel": "Same percentile",
    "series": "convention",
    "x0": "x0",
    "x1": "x1",
    "xLabel": "Tract percentile minus county percentile (percentile points)",
    "y": "share",
    "yLabel": "Share of residents (%)"
  },
  "subtitle": "Population-weighted distribution of a resident's tract percentile minus the resident's county percentile, in bins of five percentile points, {fact:pop_tracts} residents of {fact:n_tracts} tracts, ACS 2019 to 2023",
  "title": "Counted among residents, {fact:share25} of people live in a tract more than {fact:gap_cut_1} percentile points from their county's percentile, and {fact:share25_unit} when tracts and counties are ranked as units",
  "type": "histogram",
  "width": "wide"
}
