{
  "alt": "Grouped bar chart of far counties by side of the national margin in 1976 and 2024, showing the share of two-party votes. In 2024 far Democratic and far Republican counties each cast {fact:far_dem_v_2024} of votes, although there are {fact:far_rep_c_2024} far Republican counties and {fact:far_dem_c_2024} far Democratic counties; in 1976 the shares were {fact:far_dem_v_1976} and {fact:far_rep_v_1976}. A second view shows counts of counties.",
  "caption": "In 2024 far Democratic and far Republican counties cast the same share of votes although far Republican counties are the larger group by count, because the average far Democratic county cast {fact:far_size_ratio_2024} times as many votes as the average far Republican county. In 1976 far Democratic counties cast {fact:far_dem_v_1976} and far Republican counties {fact:far_rep_v_1976}. A county is far when its margin differs from the national margin by at least {fact:cut} points.",
  "data": [
    {
      "counties": 724,
      "election": "1876",
      "n_counties": 2230,
      "share_of_counties": 32.4664,
      "shown": false,
      "side": "Far Democratic",
      "votes_share": 18.0987
    },
    {
      "counties": 533,
      "election": "1876",
      "n_counties": 2230,
      "share_of_counties": 23.9013,
      "shown": false,
      "side": "Far Republican",
      "votes_share": 20.0248
    },
    {
      "counties": 1117,
      "election": "1904",
      "n_counties": 2723,
      "share_of_counties": 41.0209,
      "shown": false,
      "side": "Far Democratic",
      "votes_share": 21.9609
    },
    {
      "counties": 714,
      "election": "1904",
      "n_counties": 2723,
      "share_of_counties": 26.2211,
      "shown": false,
      "side": "Far Republican",
      "votes_share": 26.1425
    },
    {
      "counties": 1153,
      "election": "1940",
      "n_counties": 3094,
      "share_of_counties": 37.2657,
      "shown": false,
      "side": "Far Democratic",
      "votes_share": 12.7014
    },
    {
      "counties": 774,
      "election": "1940",
      "n_counties": 3094,
      "share_of_counties": 25.0162,
      "shown": false,
      "side": "Far Republican",
      "votes_share": 20.5699
    },
    {
      "counties": 704,
      "election": "1976",
      "n_counties": 3113,
      "share_of_counties": 22.6148,
      "shown": true,
      "side": "Far Democratic",
      "votes_share": 13.2053
    },
    {
      "counties": 456,
      "election": "1976",
      "n_counties": 3113,
      "share_of_counties": 14.6482,
      "shown": true,
      "side": "Far Republican",
      "votes_share": 12.3231
    },
    {
      "counties": 192,
      "election": "2000",
      "n_counties": 3114,
      "share_of_counties": 6.1657,
      "shown": false,
      "side": "Far Democratic",
      "votes_share": 22.8193
    },
    {
      "counties": 1472,
      "election": "2000",
      "n_counties": 3114,
      "share_of_counties": 47.2704,
      "shown": false,
      "side": "Far Republican",
      "votes_share": 22.4567
    },
    {
      "counties": 224,
      "election": "2016",
      "n_counties": 3113,
      "share_of_counties": 7.19563,
      "shown": false,
      "side": "Far Democratic",
      "votes_share": 27.7524
    },
    {
      "counties": 2270,
      "election": "2016",
      "n_counties": 3113,
      "share_of_counties": 72.92,
      "shown": false,
      "side": "Far Republican",
      "votes_share": 31.0219
    },
    {
      "counties": 229,
      "election": "2024",
      "n_counties": 3113,
      "share_of_counties": 7.35625,
      "shown": true,
      "side": "Far Democratic",
      "votes_share": 28.2381
    },
    {
      "counties": 2234,
      "election": "2024",
      "n_counties": 3113,
      "share_of_counties": 71.7636,
      "shown": true,
      "side": "Far Republican",
      "votes_share": 28.2237
    }
  ],
  "id": "county_counts",
  "notes": [
    "Show data lists all seven map elections from 1876 to 2024. None of them is a third-party year."
  ],
  "source": "County presidential returns, 1868-2024 (Algara and Amlani for 1868-2020, MIT Election Data and Science Lab for 2024); full counts, not survey estimates; shares weighted by two-party votes unless stated",
  "spec": {
    "category": "election",
    "colors": {
      "Far Democratic": "dem",
      "Far Republican": "rep"
    },
    "format": {
      "digits": 1
    },
    "group": "side",
    "orientation": "v",
    "value": "votes_share",
    "valueLabel": "Share of two-party votes in far counties (%)"
  },
  "subtitle": "Counties at least {fact:cut} points more Democratic or more Republican than the national margin: share of two-party votes in the first view and count of counties in the second, 1976 and 2024",
  "table": {
    "columns": [
      {
        "key": "election",
        "label": "Election"
      },
      {
        "key": "side",
        "label": "Side of the national margin"
      },
      {
        "format": {
          "digits": 0,
          "thousands": true
        },
        "key": "counties",
        "label": "Far counties"
      },
      {
        "format": {
          "digits": 1
        },
        "key": "share_of_counties",
        "label": "Share of all counties (%)"
      },
      {
        "format": {
          "digits": 1
        },
        "key": "votes_share",
        "label": "Share of votes (%)"
      },
      {
        "format": {
          "digits": 0,
          "thousands": true
        },
        "key": "n_counties",
        "label": "Counties in the election"
      }
    ]
  },
  "title": "In 2024, {fact:far_dem_c_2024} far Democratic and {fact:far_rep_c_2024} far Republican counties each cast {fact:far_dem_v_2024} of two-party votes",
  "type": "bar",
  "views": [
    {
      "filter": {
        "shown": true
      },
      "id": "votes",
      "label": "Share of votes"
    },
    {
      "caption": "Far Republican counties outnumber far Democratic counties in 2024 and the reverse holds in 1976. A county is far when its margin differs from the national margin by at least {fact:cut} points.",
      "filter": {
        "shown": true
      },
      "id": "counties",
      "label": "Number of counties",
      "spec": {
        "format": {
          "digits": 0,
          "thousands": true
        },
        "value": "counties",
        "valueLabel": "Far counties (count)"
      },
      "title": "Far counties were mostly Democratic in 1976, {fact:far_dem_c_1976} to {fact:far_rep_c_1976}, and are mostly Republican in 2024, {fact:far_rep_c_2024} to {fact:far_dem_c_2024}"
    }
  ],
  "width": "body"
}
