Skip to content

Map of Africa ​

The map has 54 countries. The figures on it are made up: give yours with the codes below.

TopoJSON file

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 ​

CodeNameFrenchArabic
DZAlgeriaAlgérieالجزائر
AOAngolaAngolaأنغولا
BJBeninBéninبنين
BWBotswanaBotswanaبوتسوانا
BFBurkina FasoBurkina Fasoبوركينا فاسو
BIBurundiBurundiبوروندي
CMCameroonCamerounالكاميرون
CVCape VerdeCap-Vertالرأس الأخضر
CFCentral African RepublicRépublique centrafricaineجمهورية أفريقيا الوسطى
TDChadTchadتشاد
KMComorosComoresجزر القمر
CDDemocratic Republic of the CongoRépublique démocratique du Congoجمهورية الكونغو الديمقراطية
DJDjiboutiDjiboutiجيبوتي
EGEgyptÉgypteمصر
GQEquatorial GuineaGuinée équatorialeغينيا الاستوائية
EREritreaÉrythréeإريتريا
SZEswatiniEswatiniإسواتيني
ETEthiopiaÉthiopieإثيوبيا
GAGabonGabonالغابون
GHGhanaGhanaغانا
GNGuineaGuinéeغينيا
GWGuinea-BissauGuinée-Bissauغينيا بيساو
CIIvory CoastCôte d'Ivoireساحل العاج
KEKenyaKenyaكينيا
LSLesothoLesothoليسوتو
LRLiberiaLiberiaليبيريا
LYLibyaLibyeليبيا
MGMadagascarMadagascarمدغشقر
MWMalawiMalawiمالاوي
MLMaliMaliمالي
MRMauritaniaMauritanieموريتانيا
MAMoroccoMarocالمغرب
MZMozambiqueMozambiqueموزمبيق
NANamibiaNamibieناميبيا
NENigerNigerالنيجر
NGNigeriaNigeriaنيجيريا
CGRepublic of the CongoRépublique du Congoجمهورية الكونغو
RWRwandaRwandaرواندا
STSão Tomé and PríncipeSao Tomé-et-Principeساو تومي وبرينسيب
SNSenegalSénégalالسنغال
SLSierra LeoneSierra Leoneسيراليون
SOSomaliaSomalieالصومال
SOLSomalilandSomalilandصوماليلاند
ZASouth AfricaAfrique du Sudجنوب أفريقيا
SSSouth SudanSoudan du Sudجنوب السودان
SDSudanSoudanالسودان
TZTanzaniaTanzanieتنزانيا
GMThe GambiaGambieغامبيا
TGTogoTogoتوغو
TNTunisiaTunisieتونس
UGUgandaOugandaأوغندا
EHWestern SaharaSahara occidentalالصحراء الغربية
ZMZambiaZambieزامبيا
ZWZimbabweZimbabweزيمبابوي

Source: Natural Earth, public domain. Shapes are simplified for the screen.