{
  "alt": "County map of the United States on a brown-to-teal scale of net adjusted gross income per resident. Teal counties run along the Florida and Carolina coasts, and brown counties include San Francisco, Boston, Manhattan, Arlington and King County in Washington, with gray counties that have no figure.",
  "caption": "Teal counties received more income than they lost and brown counties lost more than they received. Among counties of {fact:big_place_mig} residents or more, the largest per-resident losses are in San Francisco, Suffolk and Arlington counties and the largest gains in Collier, Walton and Nassau counties in Florida. The key ends at {fact:map_clamp} dollars either way and {fact:n_beyond} counties lie beyond it; {fact:n_nodata_mig} gray counties have no net figure.",
  "data": [],
  "id": "net_agi_map",
  "notes": [
    "Arrivals and departures are tax returns matched across the 2022 and 2023 filings on the filer's taxpayer identification number, with a county assigned from the ZIP+4 on each return, so the unit is the filer and not the person. People who do not file are missing, and the IRS withholds small flows; a withheld direction leaves the county gray, never at zero. Income is adjusted gross income on the 2023 return, converted from thousands of dollars.",
    "Arrivals include moves from abroad, departures include moves abroad, and both include moves to and from the territories. Net income is divided by the ACS 2019-2023 population, which counts people who do not file.",
    "Connecticut's IRS flows are published by planning region and are allocated to its legacy counties in proportion to 2020 population, which is approximate. Alaska is drawn. Puerto Rico is not drawn."
  ],
  "source": "IRS Statistics of Income county-to-county migration data, filing years 2022 and 2023, and ACS 2019-2023 population; full counts of returns, not weighted",
  "spec": {
    "fips": "fips",
    "legendLabel": "Net adjusted gross income per resident (dollars)",
    "payload": "net_agi_map.json",
    "scale": {
      "domain": [
        -2000,
        0,
        2000
      ],
      "ends": [
        "Net outflow of income",
        "Net inflow of income"
      ],
      "palette": "div",
      "type": "diverging"
    },
    "tooltipKeys": [
      "name",
      "net_m",
      "net_returns",
      "pop"
    ],
    "tooltipLabels": {
      "name": "County",
      "net_m": "Net income (millions of dollars)",
      "net_returns": "Net returns",
      "pop": "Population, ACS 2019-2023"
    },
    "value": "agipc",
    "valueFormat": {
      "digits": 0,
      "thousands": true
    }
  },
  "subtitle": "Net adjusted gross income (arriving minus leaving returns) in dollars per resident by county, returns filed in 2022 matched with returns filed in 2023",
  "title": "Net adjusted gross income was positive in {fact:mov_gain} counties and negative in {fact:mov_lose}, with the largest losses per resident in San Francisco and Boston's Suffolk County and the largest gains in Florida",
  "type": "county-map",
  "width": "full"
}
