Map of Africa
The map has 54 countries. The figures on it are made up: give yours with the codes below.
Put your figures on it
In your framework
import { Chart } from 'nervure/react';
const spec = {
type: 'map',
geo: 'await loadMap("continents/africa")',
projection: 'mercator',
values: { DZ: 8, AO: 45, BJ: 82, BW: 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Places and codes
| Code | Name | French | Arabic |
|---|---|---|---|
DZ | Algeria | Algérie | الجزائر |
AO | Angola | Angola | أنغولا |
BJ | Benin | Bénin | بنين |
BW | Botswana | Botswana | بوتسوانا |
BF | Burkina Faso | Burkina Faso | بوركينا فاسو |
BI | Burundi | Burundi | بوروندي |
CM | Cameroon | Cameroun | الكاميرون |
CV | Cape Verde | Cap-Vert | الرأس الأخضر |
CF | Central African Republic | République centrafricaine | جمهورية أفريقيا الوسطى |
TD | Chad | Tchad | تشاد |
KM | Comoros | Comores | جزر القمر |
CD | Democratic Republic of the Congo | République démocratique du Congo | جمهورية الكونغو الديمقراطية |
DJ | Djibouti | Djibouti | جيبوتي |
EG | Egypt | Égypte | مصر |
GQ | Equatorial Guinea | Guinée équatoriale | غينيا الاستوائية |
ER | Eritrea | Érythrée | إريتريا |
SZ | Eswatini | Eswatini | إسواتيني |
ET | Ethiopia | Éthiopie | إثيوبيا |
GA | Gabon | Gabon | الغابون |
GH | Ghana | Ghana | غانا |
GN | Guinea | Guinée | غينيا |
GW | Guinea-Bissau | Guinée-Bissau | غينيا بيساو |
CI | Ivory Coast | Côte d'Ivoire | ساحل العاج |
KE | Kenya | Kenya | كينيا |
LS | Lesotho | Lesotho | ليسوتو |
LR | Liberia | Liberia | ليبيريا |
LY | Libya | Libye | ليبيا |
MG | Madagascar | Madagascar | مدغشقر |
MW | Malawi | Malawi | مالاوي |
ML | Mali | Mali | مالي |
MR | Mauritania | Mauritanie | موريتانيا |
MA | Morocco | Maroc | المغرب |
MZ | Mozambique | Mozambique | موزمبيق |
NA | Namibia | Namibie | ناميبيا |
NE | Niger | Niger | النيجر |
NG | Nigeria | Nigeria | نيجيريا |
CG | Republic of the Congo | République du Congo | جمهورية الكونغو |
RW | Rwanda | Rwanda | رواندا |
ST | São Tomé and Príncipe | Sao Tomé-et-Principe | ساو تومي وبرينسيب |
SN | Senegal | Sénégal | السنغال |
SL | Sierra Leone | Sierra Leone | سيراليون |
SO | Somalia | Somalie | الصومال |
SOL | Somaliland | Somaliland | صوماليلاند |
ZA | South Africa | Afrique du Sud | جنوب أفريقيا |
SS | South Sudan | Soudan du Sud | جنوب السودان |
SD | Sudan | Soudan | السودان |
TZ | Tanzania | Tanzanie | تنزانيا |
GM | The Gambia | Gambie | غامبيا |
TG | Togo | Togo | توغو |
TN | Tunisia | Tunisie | تونس |
UG | Uganda | Ouganda | أوغندا |
EH | Western Sahara | Sahara occidental | الصحراء الغربية |
ZM | Zambia | Zambie | زامبيا |
ZW | Zimbabwe | Zimbabwe | زيمبابوي |
Source: Natural Earth, public domain. Shapes are simplified for the screen.