Movement between stages / Force network

Force network

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.

Free (MIT) · Movement between stages · Not recommended for mobile

DR Congo touches nine neighbours, more than any other African country

African countries joined by a shared land border; circle area is population, 2024

Each circle is a country, sized by population; a line means the two share a land border, and dashed rings mark islands with none.

On phones: best on a wider screen (5 labels are cut off at the drawing's edge). Video formats: best kept to the page.

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. Sound is off until the viewer turns it on.

Source: Natural Earth 1:50m countries (world-atlas), UN M49 regions, World Bank population, Natural Earth; United Nations Statistics Division; World Bank (Public domain (Natural Earth); CC BY 4.0 (World Bank)), retrieved 2026-12-01. 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.

Data

Groups: Northern Africa, Western Africa, Middle Africa, Eastern Africa, Southern Africa

DR Congo touches nine neighbours, more than any other African country. Source: Natural Earth; United Nations Statistics Division; World Bank, Natural Earth 1:50m countries (world-atlas), UN M49 regions, World Bank population (Nodes)
NameGroupPopulationBordersId
ZimbabweEastern Africa17 million4ZWE
ZambiaEastern Africa21 million7ZMB
UgandaEastern Africa50 million5UGA
TunisiaNorthern Africa12 million2TUN
TogoWestern Africa8.4 million3TGO
TanzaniaEastern Africa69 million8TZA
EswatiniSouthern Africa1.2 million2SWZ
South SudanEastern Africa12 million6SSD
SudanNorthern Africa50 million7SDN
South AfricaSouthern Africa64 million6ZAF
SomaliaEastern Africa19 million2SOM
Sierra LeoneWestern Africa8.6 million2SLE
SeychellesEastern Africa121,3540SYC
SenegalWestern Africa19 million5SEN
São Tomé and PrincipeMiddle Africa235,5360STP
RwandaEastern Africa14 million4RWA
NigeriaWestern Africa233 million4NGA
NigerWestern Africa27 million7NER
NamibiaSouthern Africa3.0 million4NAM
MozambiqueEastern Africa35 million6MOZ
MoroccoNorthern Africa38 million2MAR
Western SaharaNorthern Africa3ESH
MauritiusEastern Africa1.2 million0MUS
MauritaniaWestern Africa5.2 million4MRT
MaliWestern Africa24 million7MLI
MalawiEastern Africa22 million3MWI
MadagascarEastern Africa32 million0MDG
LibyaNorthern Africa7.4 million6LBY
LiberiaWestern Africa5.6 million3LBR
LesothoSouthern Africa2.3 million1LSO
KenyaEastern Africa56 million5KEN
Guinea-BissauWestern Africa2.2 million2GNB
GuineaWestern Africa15 million6GIN
GhanaWestern Africa34 million3GHA
GambiaWestern Africa2.8 million1GMB
GabonMiddle Africa2.5 million3GAB
EthiopiaEastern Africa132 million6ETH
EritreaEastern Africa3.5 million3ERI
Equatorial GuineaMiddle Africa1.9 million2GNQ
EgyptNorthern Africa117 million2EGY
DjiboutiEastern Africa1.2 million2DJI
Côte d'IvoireWestern Africa32 million5CIV
DR CongoMiddle Africa109 million9COD
CongoMiddle Africa6.3 million5COG
ComorosEastern Africa866,6280COM
ChadMiddle Africa20 million6TCD
Central African Rep.Middle Africa5.3 million6CAF
Cabo VerdeWestern Africa524,8770CPV
CameroonMiddle Africa29 million6CMR
BurundiEastern Africa14 million3BDI
Burkina FasoWestern Africa24 million6BFA
BotswanaSouthern Africa2.5 million3BWA
BeninWestern Africa14 million4BEN
AngolaMiddle Africa38 million4AGO
AlgeriaNorthern Africa47 million7DZA
DR Congo touches nine neighbours, more than any other African country. Source: Natural Earth; United Nations Statistics Division; World Bank, Natural Earth 1:50m countries (world-atlas), UN M49 regions, World Bank population (Links)
Id
1
9
19
51
5
18
19
25
42
53
5
7
15
30
42
27
54
33
50
52
15
19
25
30
42
49
9
19
8
30
36
42
46
27
36
37
39
45
46
18
19
29
51
30
36
28
32
23
24
31
32
34
42
49
17
45
48
52
24
27
45
50
52
54
51
53
25
21
54
23
54
24
54
32
41
50
54
39
45
54
32
41
36
32
41
41
50
38
43
48
37
40
40
48
50
43
46
49
53
46
48
53
46
48
48
52