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
| Name | Group | Population | Borders | Id |
|---|---|---|---|---|
| Zimbabwe | Eastern Africa | 17 million | 4 | ZWE |
| Zambia | Eastern Africa | 21 million | 7 | ZMB |
| Uganda | Eastern Africa | 50 million | 5 | UGA |
| Tunisia | Northern Africa | 12 million | 2 | TUN |
| Togo | Western Africa | 8.4 million | 3 | TGO |
| Tanzania | Eastern Africa | 69 million | 8 | TZA |
| Eswatini | Southern Africa | 1.2 million | 2 | SWZ |
| South Sudan | Eastern Africa | 12 million | 6 | SSD |
| Sudan | Northern Africa | 50 million | 7 | SDN |
| South Africa | Southern Africa | 64 million | 6 | ZAF |
| Somalia | Eastern Africa | 19 million | 2 | SOM |
| Sierra Leone | Western Africa | 8.6 million | 2 | SLE |
| Seychelles | Eastern Africa | 121,354 | 0 | SYC |
| Senegal | Western Africa | 19 million | 5 | SEN |
| São Tomé and Principe | Middle Africa | 235,536 | 0 | STP |
| Rwanda | Eastern Africa | 14 million | 4 | RWA |
| Nigeria | Western Africa | 233 million | 4 | NGA |
| Niger | Western Africa | 27 million | 7 | NER |
| Namibia | Southern Africa | 3.0 million | 4 | NAM |
| Mozambique | Eastern Africa | 35 million | 6 | MOZ |
| Morocco | Northern Africa | 38 million | 2 | MAR |
| Western Sahara | Northern Africa | 3 | ESH | |
| Mauritius | Eastern Africa | 1.2 million | 0 | MUS |
| Mauritania | Western Africa | 5.2 million | 4 | MRT |
| Mali | Western Africa | 24 million | 7 | MLI |
| Malawi | Eastern Africa | 22 million | 3 | MWI |
| Madagascar | Eastern Africa | 32 million | 0 | MDG |
| Libya | Northern Africa | 7.4 million | 6 | LBY |
| Liberia | Western Africa | 5.6 million | 3 | LBR |
| Lesotho | Southern Africa | 2.3 million | 1 | LSO |
| Kenya | Eastern Africa | 56 million | 5 | KEN |
| Guinea-Bissau | Western Africa | 2.2 million | 2 | GNB |
| Guinea | Western Africa | 15 million | 6 | GIN |
| Ghana | Western Africa | 34 million | 3 | GHA |
| Gambia | Western Africa | 2.8 million | 1 | GMB |
| Gabon | Middle Africa | 2.5 million | 3 | GAB |
| Ethiopia | Eastern Africa | 132 million | 6 | ETH |
| Eritrea | Eastern Africa | 3.5 million | 3 | ERI |
| Equatorial Guinea | Middle Africa | 1.9 million | 2 | GNQ |
| Egypt | Northern Africa | 117 million | 2 | EGY |
| Djibouti | Eastern Africa | 1.2 million | 2 | DJI |
| Côte d'Ivoire | Western Africa | 32 million | 5 | CIV |
| DR Congo | Middle Africa | 109 million | 9 | COD |
| Congo | Middle Africa | 6.3 million | 5 | COG |
| Comoros | Eastern Africa | 866,628 | 0 | COM |
| Chad | Middle Africa | 20 million | 6 | TCD |
| Central African Rep. | Middle Africa | 5.3 million | 6 | CAF |
| Cabo Verde | Western Africa | 524,877 | 0 | CPV |
| Cameroon | Middle Africa | 29 million | 6 | CMR |
| Burundi | Eastern Africa | 14 million | 3 | BDI |
| Burkina Faso | Western Africa | 24 million | 6 | BFA |
| Botswana | Southern Africa | 2.5 million | 3 | BWA |
| Benin | Western Africa | 14 million | 4 | BEN |
| Angola | Middle Africa | 38 million | 4 | AGO |
| Algeria | Northern Africa | 47 million | 7 | DZA |
| 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 |