{
  "id": "force-network",
  "name": "Force network",
  "family": "flow",
  "tier": "free",
  "summary": "Use a force network to show who connects to whom when the shape of the web matters more than exact positions; readers can drag it apart. Takes any { nodes: [{ name, group?, <number>? }], links: [[i, j] or { source, target }] }: links count each node's degree, circles are sized by any number field, and nodes with no links get a dashed ring.",
  "title": "DR Congo touches nine neighbours, more than any other African country",
  "subtitle": "African countries joined by a shared land border; circle area is population, 2024",
  "howToRead": "Each circle is a country, sized by population; a line means the two share a land border, and dashed rings mark islands with none.",
  "useWhen": [
    "the data is a set of links with no natural layout",
    "clusters, hubs and loners are the story",
    "there are 20 to 150 nodes",
    "any who-links-to-whom data (people, services, papers, stations): links can be node indices, ids or names"
  ],
  "avoidWhen": [
    "readers need to look up a specific pair (use an adjacency matrix)",
    "the network is very dense (it becomes a hairball)",
    "positions carry meaning, such as places on a map (use a map)"
  ],
  "fields": [
    {
      "name": "groups",
      "type": "category",
      "description": "the five UN subregions, in ink order (optional: else groups come in order of first use; past six share one ink and the key says other)",
      "optional": true
    },
    {
      "name": "nodes[].name",
      "type": "place",
      "description": "the country"
    },
    {
      "name": "nodes[].group",
      "type": "category",
      "description": "its UN subregion (optional: a group sets colour and a loose home; the hint homes places groups)",
      "optional": true
    },
    {
      "name": "nodes[].population",
      "type": "number",
      "description": "people, 2024 (null where the World Bank has no figure): the circle's size (optional: any number field works, or name it with the hint size; none sizes by links)",
      "unit": "people",
      "format": "count",
      "optional": true
    },
    {
      "name": "nodes[].borders",
      "type": "number",
      "description": "number of African land neighbours (optional: the chart counts each node's links itself)",
      "unit": "neighbours",
      "format": "count",
      "optional": true
    },
    {
      "name": "links",
      "type": "id",
      "description": "pairs of node indices that share a land border; also [id, id], [name, name] or { source, target }"
    }
  ],
  "hints": {
    "homes": "Northern Africa 0.5 0.2; Western Africa 0.25 0.42; Middle Africa 0.5 0.55; Eastern Africa 0.76 0.5; Southern Africa 0.55 0.85",
    "noun": "countries",
    "links": "neighbours"
  },
  "interactive": [
    "drag"
  ],
  "interactions": [
    "drag a country and the network follows, then settles",
    "hover or tap a country to light its neighbours"
  ],
  "motion": "The countries start bunched together and the forces open them out into a loose map of the continent once; dragging reheats it.",
  "sound": "A pop when you pick a country up and a plink when you drop it. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "callout",
      "at": "DR Congo",
      "text": "{label}: {value}",
      "style": "arrow"
    },
    {
      "type": "underline",
      "words": "nine neighbours",
      "in": "title"
    }
  ],
  "tags": [
    "network",
    "graph",
    "borders",
    "Africa",
    "geography",
    "draggable",
    "physics"
  ],
  "mobile": "desktop",
  "mobileNote": "5 labels are cut off at the drawing's edge",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "16:9",
  "source": {
    "title": "Natural Earth 1:50m countries (world-atlas), UN M49 regions, World Bank population",
    "publisher": "Natural Earth; United Nations Statistics Division; World Bank",
    "url": "https://www.naturalearthdata.com/downloads/50m-cultural-vectors/",
    "license": "Public domain (Natural Earth); CC BY 4.0 (World Bank)",
    "retrieved": "2026-12-01"
  },
  "note": "Borders are boundaries shared in Natural Earth's 1:50m map, so a tiny touch such as Zambia–Botswana at Kazungula may be missed. Western Sahara is shown as Natural Earth draws it."
}