Toggle navigation

Visualization Tools

The data is visualized via the slices. These slices are visual components made with the D3.js. Some components can be completed or required inputs.

Country Map Tools

This tool is used in slices for visualization number or string by region, province or department of your countries. So, if you want to use tools, you need ISO 3166-2 code of region, province or department.

ISO 3166-2 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for identifying the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1

The purpose of ISO 3166-2 is to establish an international standard of short and unique alphanumeric codes to represent the relevant administrative divisions and dependent territories of all countries in a more convenient and less ambiguous form than their full names. Each complete ISO 3166-2 code consists of two parts, separated by a hyphen:[1]

The first part is the ISO 3166-1 alpha-2 code of the country; The second part is a string of up to three alphanumeric characters, which is usually obtained from national sources and stems from coding systems already in use in the country concerned, but may also be developed by the ISO itself.

List of Countries

  • Belgium
ISOName of region
BE-BRUBruxelles
BE-VANAntwerpen
BE-VLILimburg
BE-VOVOost-Vlaanderen
BE-VBRVlaams Brabant
BE-VWVWest-Vlaanderen
BE-WBRBrabant Wallon
BE-WHTHainaut
BE-WLGLiège
BE-VLILimburg
BE-WLXLuxembourg
BE-WNANamur
  • Brazil
ISOName of region
BR-ACAcre
BR-ALAlagoas
BR-APAmapá
BR-AMAmazonas
BR-BABahia
BR-CECeará
BR-DFDistrito Federal
BR-ESEspírito Santo
BR-GOGoiás
BR-MAMaranhão
BR-MSMato Grosso do Sul
BR-MTMato Grosso
BR-MGMinas Gerais
BR-PAPará
BR-PBParaíba
BR-PRParaná
BR-PEPernambuco
BR-PIPiauí
BR-RJRio de Janeiro
BR-RNRio Grande do Norte
BR-RSRio Grande do Sul
BR-RORondônia
BR-RRRoraima
BR-SPSão Paulo
BR-SCSanta Catarina
BR-SESergipe
BR-TOTocantins
  • China
ISOName of region
CN-34Anhui
CN-11Beijing
CN-50Chongqing
CN-35Fujian
CN-62Gansu
CN-44Guangdong
CN-45Guangxi
CN-52Guizhou
CN-46Hainan
CN-13Hebei
CN-23Heilongjiang
CN-41Henan
CN-42Hubei
CN-43Hunan
CN-32Jiangsu
CN-36Jiangxi
CN-22Jilin
CN-21Liaoning
CN-15Nei Mongol
CN-64Ningxia Hui
CN-63Qinghai
CN-61Shaanxi
CN-37Shandong
CN-31Shanghai
CN-14Shanxi
CN-51Sichuan
CN-12Tianjin
CN-65Xinjiang Uygur
CN-54Xizang
CN-53Yunnan
CN-33Zhejiang
CN-71Taiwan
CN-91Hong Kong
CN-92Macao
  • Egypt
ISOName of region
EG-DKAd Daqahliyah
EG-BAAl Bahr al Ahmar
EG-BHAl Buhayrah
EG-FYMAl Fayyum
EG-GHAl Gharbiyah
EG-ALXAl Iskandariyah
EG-ISAl Isma iliyah
EG-GZAl Jizah
EG-MNFAl Minufiyah
EG-MNAl Minya
EG-CAl Qahirah
EG-KBAl Qalyubiyah
EG-LXAl Uqsur
EG-WADAl Wadi al Jadid
EG-SUZAs Suways
EG-SHRAsh Sharqiyah
EG-ASNAswan
EG-ASTAsyut
EG-BNSBani Suwayf
EG-PTSBur Sa id
EG-DTDumyat
EG-JSJanub Sina’
EG-KFSKafr ash Shaykh
EG-MTMatrouh
EG-KNQina
EG-SINShamal Sina’
EG-SHGSuhaj
  • France
ISOName of region
FR-67Bas-Rhin
FR-68Haut-Rhin
FR-24Dordogne
FR-33Gironde
FR-40Landes
FR-47Lot-et-Garonne
FR-64Pyrénées-Atlantiques
FR-03Allier
FR-15Cantal
FR-43Haute-Loire
FR-63Puy-de-Dôme
FR-91Essonne
FR-92Hauts-de-Seine
FR-75Paris
FR-77Seine-et-Marne
FR-93Seine-Saint-Denis
FR-95Val-d’Oise
FR-94Val-de-Marne
FR-78Yvelines
FR-14Calvados
FR-50Manche
FR-61Orne
FR-21Côte-d’Or
FR-58Nièvre
FR-71Saône-et-Loire
FR-89Yonne
FR-22Côtes-d’Armor
FR-29Finistère
FR-35Ille-et-Vilaine
FR-56Morbihan
FR-18Cher
FR-28Eure-et-Loir
FR-37Indre-et-Loire
FR-36Indre
FR-41Loir-et-Cher
FR-45Loiret
FR-08Ardennes
FR-10Aube
FR-52Haute-Marne
FR-51Marne
FR-2ACorse-du-Sud
FR-2BHaute-Corse
FR-25Doubs
FR-70Haute-Saône
FR-39Jura
FR-90Territoire de Belfort
FR-27Eure
FR-76Seine-Maritime
FR-11Aude
FR-30Gard
FR-34Hérault
FR-48Lozère
FR-66Pyrénées-Orientales
FR-19Corrèze
FR-23Creuse
FR-87Haute-Vienne
FR-54Meurthe-et-Moselle
FR-55Meuse
FR-57Moselle
FR-88Vosges
FR-09Ariège
FR-12Aveyron
FR-32Gers
FR-31Haute-Garonne
FR-65Hautes-Pyrénées
FR-46Lot
FR-82Tarn-et-Garonne
FR-81Tarn
FR-59Nord
FR-62Pas-de-Calais
FR-44Loire-Atlantique
FR-49Maine-et-Loire
FR-53Mayenne
FR-72Sarthe
FR-85Vendée
FR-02Aisne
FR-60Oise
FR-80Somme
FR-17Charente-Maritime
FR-16Charente
FR-79Deux-Sèvres
FR-86Vienne
FR-04Alpes-de-Haute-Provence
FR-06Alpes-Maritimes
FR-13Bouches-du-Rhône
FR-05Hautes-Alpes
FR-83Var
FR-84Vaucluse
FR-01Ain
FR-07Ardèche
FR-26Drôme
FR-74Haute-Savoie
FR-38Isère
FR-42Loire
FR-69Rhône
FR-73Savoie
  • Germany
ISOName of region
DE-BWBaden-Württemberg
DE-BYBayern
DE-BEBerlin
DE-BBBrandenburg
DE-HBBremen
DE-HHHamburg
DE-HEHessen
DE-MVMecklenburg-Vorpommern
DE-NINiedersachsen
DE-NWNordrhein-Westfalen
DE-RPRheinland-Pfalz
DE-SLSaarland
DE-STSachsen-Anhalt
DE-SNSachsen
DE-SHSchleswig-Holstein
DE-THThüringen
  • Italy
ISOName of region
IT-CHChieti
IT-AQL’Aquila
IT-PEPescara
IT-TETeramo
IT-BABari
IT-BTBarletta-Andria-Trani
IT-BRBrindisi
IT-FGFoggia
IT-LELecce
IT-TATaranto
IT-MTMatera
IT-PZPotenza
IT-CZCatanzaro
IT-CSCosenza
IT-KRCrotone
IT-RCReggio Di Calabria
IT-VVVibo Valentia
IT-AVAvellino
IT-BNBenevento
IT-CECaserta
IT-NANapoli
IT-SASalerno
IT-BOBologna
IT-FEFerrara
IT-FCForli’ - Cesena
IT-MOModena
IT-PRParma
IT-PCPiacenza
IT-RARavenna
IT-REReggio Nell’Emilia
IT-RNRimini
IT-GOGorizia
IT-PNPordenone
IT-TSTrieste
IT-UDUdine
IT-FRFrosinone
IT-LTLatina
IT-RIRieti
IT-RMRoma
IT-VTViterbo
IT-GEGenova
IT-IMImperia
IT-SPLa Spezia
IT-SVSavona
IT-BGBergamo
IT-BSBrescia
IT-COComo
IT-CRCremona
IT-LCLecco
IT-LOLodi
IT-MNMantua
IT-MIMilano
IT-MBMonza and Brianza
IT-PVPavia
IT-SOSondrio
IT-VAVarese
IT-ANAncona
IT-APAscoli Piceno
IT-FMFermo
IT-MCMacerata
IT-PUPesaro E Urbino
IT-CBCampobasso
IT-ISIsernia
IT-ALAlessandria
IT-ATAsti
IT-BIBiella
IT-CNCuneo
IT-NONovara
IT-TOTorino
IT-VBVerbano-Cusio-Ossola
IT-VCVercelli
IT-CACagliari
IT-CICarbonia-Iglesias
IT-VSMedio Campidano
IT-NUNuoro
IT-OGOgliastra
IT-OTOlbia-Tempio
IT-OROristano
IT-SSSassari
IT-AGAgrigento
IT-CLCaltanissetta
IT-CTCatania
IT-ENEnna
IT-MEMessina
IT-PAPalermo
IT-RGRagusa
IT-SRSyracuse
IT-TPTrapani
IT-ARArezzo
IT-FIFlorence
IT-GRGrosseto
IT-LILivorno
IT-LULucca
IT-MSMassa Carrara
IT-PIPisa
IT-PTPistoia
IT-POPrato
IT-SISiena
IT-BZBolzano
IT-TNTrento
IT-PGPerugia
IT-TRTerni
IT-AOAosta
IT-BLBelluno
IT-PDPadua
IT-RORovigo
IT-TVTreviso
IT-VEVenezia
IT-VRVerona
IT-VIVicenza
  • Morocco
ISOName of region
MA-BESBen Slimane
MA-KHOKhouribga
MA-SETSettat
MA-JDIEl Jadida
MA-SAFSafi
MA-BOMBoulemane
MA-FESFès
MA-SEFSefrou
MA-MOUZouagha-Moulay Yacoub
MA-KENKénitra
MA-SIKSidi Kacem
MA-CASCasablanca
MA-MOHMohammedia
MA-ASZAssa-Zag
MA-GUEGuelmim
MA-TNTTan-Tan
MA-TATTata
MA-LAALaâyoune
MA-HAOAl Haouz
MA-CHIChichaoua
MA-KESEl Kelaâ des Sraghna
MA-ESIEssaouira
MA-MMDMarrakech
MA-HAJEl Hajeb
MA-ERRErrachidia
MA-IFRIfrane
MA-KHNKhénifra
MA-MEKMeknès
MA-BERBerkane Taourirt
MA-FIGFiguig
MA-JRAJerada
MA-NADNador
MA-OUJOujda Angad
MA-KHEKhémisset
MA-RABRabat
MA-SALSalé
MA-SKHSkhirate-Témara
MA-AGDAgadir-Ida ou Tanane
MA-CHTChtouka-Aït Baha
MA-INEInezgane-Aït Melloul
MA-OUAOuarzazate
MA-TARTaroudannt
MA-TIZTiznit
MA-ZAGZagora
MA-AZIAzilal
MA-BEMBéni Mellal
MA-CHEChefchaouen
MA-FAHFahs Anjra
MA-LARLarache
MA-TETTétouan
MA-TNGTanger-Assilah
MA-HOCAl Hoceïma
MA-TAOTaounate
MA-TAZTaza
  • Netherlands
ISOName of region
NL-DRDrenthe
NL-FLFlevoland
NL-FRFriesland
NL-GEGelderland
NL-GRGroningen
NL-YSIJsselmeer
NL-LILimburg
NL-NBNoord-Brabant
NL-NHNoord-Holland
NL-OVOverijssel
NL-UTUtrecht
NL-ZEZeeland
NL-ZMZeeuwse meren
NL-ZHZuid-Holland
  • Russian
ISOName of region
RU-ADAdygey
RU-ALTAltay
RU-AMUAmur
RU-ARKArkhangel’sk
RU-ASTAstrakhan’
RU-BABashkortostan
RU-BELBelgorod
RU-BRYBryansk
RU-BUBuryat
RU-CEChechnya
RU-CHEChelyabinsk
RU-CHUChukot
RU-CUChuvash
RU-SPECity of St. Petersburg
RU-DADagestan
RU-ALGorno-Altay
RU-INIngush
RU-IRKIrkutsk
RU-IVAIvanovo
RU-KBKabardin-Balkar
RU-KGDKaliningrad
RU-KLKalmyk
RU-KLUKaluga
RU-KAMKamchatka
RU-KCKarachay-Cherkess
RU-KRKarelia
RU-KEMKemerovo
RU-KHAKhabarovsk
RU-KKKhakass
RU-KHMKhanty-Mansiy
RU-KIRKirov
RU-KOKomi
RU-KOSKostroma
RU-KDAKrasnodar
RU-KYAKrasnoyarsk
RU-KGNKurgan
RU-KRSKursk
RU-LENLeningrad
RU-LIPLipetsk
RU-MAGMaga Buryatdan
RU-MEMariy-El
RU-MOMordovia
RU-MOWMoscow City
RU-MOSMoskva
RU-MURMurmansk
RU-NENNenets
RU-NIZNizhegorod
RU-SENorth Ossetia
RU-NGRNovgorod
RU-NVSNovosibirsk
RU-OMSOmsk
RU-ORLOrel
RU-OREOrenburg
RU-PNZPenza
RU-PERPerm’
RU-PRIPrimor’ye
RU-PSKPskov
RU-ROSRostov
RU-RYARyazan’
RU-SAKSakhalin
RU-SASakha
RU-SAMSamara
RU-SARSaratov
RU-SMOSmolensk
RU-STAStavropol’
RU-SVESverdlovsk
RU-TAMTambov
RU-TATatarstan
RU-TOMTomsk
RU-TULTula
RU-TYTuva
RU-TVETver’
RU-TYUTyumen’
RU-UDUdmurt
RU-ULYUl’yanovsk
RU-VLAVladimir
RU-VGGVolgograd
RU-VLGVologda
RU-VORVoronezh
RU-YANYamal-Nenets
RU-YARYaroslavl’
RU-YEVYevrey
RU-ZABZabaykal’ye
  • Singapore
IdName of region
205Singapore
  • Spain
ISOName of region
ES-ALAlmería
ES-CACádiz
ES-COCórdoba
ES-GRGranada
ES-HHuelva
ES-JJaén
ES-MAMálaga
ES-SESevilla
ES-HUHuesca
ES-TETeruel
ES-ZZaragoza
ES-S3Cantabria
ES-ABAlbacete
ES-CRCiudad Real
ES-CUCuenca
ES-GUGuadalajara
ES-TOToledo
ES-AVÁvila
ES-BUBurgos
ES-LELeón
ES-PPalencia
ES-SASalamanca
ES-SGSegovia
ES-SOSoria
ES-VAValladolid
ES-ZAZamora
ES-BBarcelona
ES-GIGirona
ES-LLleida
ES-TTarragona
ES-CECeuta
ES-MLMelilla
ES-M5Madrid
ES-NA7Navarra
ES-AAlicante
ES-CSCastellón
ES-VValencia
ES-BABadajoz
ES-CCCáceres
ES-CA Coruña
ES-LULugo
ES-OROurense
ES-POPontevedra
ES-PMBaleares
ES-GCLas Palmas
ES-TFSanta Cruz de Tenerife
ES-LO4La Rioja
ES-VIÁlava
ES-SSGuipúzcoa
ES-BIVizcaya
ES-O2Asturias
ES-MU6Murcia
  • Uk
ISOName of region
GB-BDGBarking and Dagenham
GB-BASBath and North East Somerset
GB-BDFBedfordshire
GB-WBKBerkshire
GB-BEXBexley
GB-BBDBlackburn with Darwen
GB-BMHBournemouth
GB-BENBrent
GB-BNHBrighton and Hove
GB-BSTBristol
GB-BRYBromley
GB-BKMBuckinghamshire
GB-CAMCambridgeshire
GB-CMDCamden
GB-CHSCheshire
GB-CONCornwall
GB-CRYCroydon
GB-CMACumbria
GB-DALDarlington
GB-DBYDerbyshire
GB-DERDerby
GB-DEVDevon
GB-DORDorset
GB-DURDurham
GB-EALEaling
GB-ERYEast Riding of Yorkshire
GB-ESXEast Sussex
GB-ENFEnfield
GB-ESSEssex
GB-GLSGloucestershire
GB-GREGreenwich
GB-HCKHackney
GB-HALHalton
GB-HMFHammersmith and Fulham
GB-HAMHampshire
GB-HRYHaringey
GB-HRWHarrow
GB-HPLHartlepool
GB-HAVHavering
GB-HRTHerefordshire
GB-HEFHertfordshire
GB-HILHillingdon
GB-HNSHounslow
GB-IOWIsle of Wight
GB-ISLIslington
GB-KECKensington and Chelsea
GB-KENKent
GB-KHLKingston upon Hull
GB-KTTKingston upon Thames
GB-LBHLambeth
GB-LANLancashire
GB-LECLeicestershire
GB-LCELeicester
GB-LEWLewisham
GB-LINLincolnshire
GB-LNDLondon
GB-LUTLuton
GB-MANManchester
GB-MDWMedway
GB-MERMerseyside
GB-MRTMerton
GB-MDBMiddlesbrough
GB-MIKMilton Keynes
GB-NWMNewham
GB-NFKNorfolk
GB-NELNorth East Lincolnshire
GB-NLNNorth Lincolnshire
GB-NSMNorth Somerset
GB-NYKNorth Yorkshire
GB-NTHNorthamptonshire
GB-NBLNorthumberland
GB-NTTNottinghamshire
GB-NGMNottingham
GB-OXFOxfordshire
GB-PTEPeterborough
GB-PLYPlymouth
GB-POLPoole
GB-PORPortsmouth
GB-RDBRedbridge
GB-RCCRedcar and Cleveland
GB-RICRichmond upon Thames
GB-RUTRutland
GB-SHRShropshire
GB-SOMSomerset
GB-SGCSouth Gloucestershire
GB-SYSouth Yorkshire
GB-STHSouthampton
GB-SOSSouthend-on-Sea
GB-SWKSouthwark
GB-STSStaffordshire
GB-STTStockton-on-Tees
GB-STEStoke-on-Trent
GB-SFKSuffolk
GB-SRYSurrey
GB-STNSutton
GB-SWDSwindon
GB-TFWTelford and Wrekin
GB-THRThurrock
GB-TOBTorbay
GB-TWHTower Hamlets
GB-TAWTyne and Wear
GB-WFTWaltham Forest
GB-WNDWandsworth
GB-WRTWarrington
GB-WARWarwickshire
GB-WMWest Midlands
GB-WSXWest Sussex
GB-WYWest Yorkshire
GB-WSMWestminster
GB-WILWiltshire
GB-WORWorcestershire
GB-YORYork
GB-ANTAntrim
GB-ARDArds
GB-ARMArmagh
GB-BLABallymena
GB-BLYBallymoney
GB-BNBBanbridge
GB-BFSBelfast
GB-CKFCarrickfergus
GB-CSRCastlereagh
GB-CLRColeraine
GB-CKTCookstown
GB-CGVCraigavon
GB-DRYDerry
GB-DOWDown
GB-DGNDungannon
GB-FERFermanagh
GB-LRNLarne
GB-LMVLimavady
GB-LSBLisburn
GB-MFTMagherafelt
GB-MYLMoyle
GB-NYMNewry and Mourne
GB-NTANewtownabbey
GB-NDNNorth Down
GB-OMHOmagh
GB-STBStrabane
GB-ABDAberdeenshire
GB-ABEAberdeen
GB-ANSAngus
GB-AGBArgyll and Bute
GB-CLKClackmannanshire
GB-DGYDumfries and Galloway
GB-DNDDundee
GB-EAYEast Ayrshire
GB-EDUEast Dunbartonshire
GB-ELNEast Lothian
GB-ERWEast Renfrewshire
GB-EDHEdinburgh
GB-ELSEilean Siar
GB-FALFalkirk
GB-FIFFife
GB-GLGGlasgow
GB-HLDHighland
GB-IVCInverclyde
GB-MLNMidlothian
GB-MRYMoray
GB-NAYNorth Ayshire
GB-NLKNorth Lanarkshire
GB-ORKOrkney Islands
GB-PKNPerthshire and Kinross
GB-RFWRenfrewshire
GB-SCBScottish Borders
GB-ZETShetland Islands
GB-SAYSouth Ayrshire
GB-SLKSouth Lanarkshire
GB-STGStirling
GB-WDUWest Dunbartonshire
GB-WLNWest Lothian
GB-AGYAnglesey
GB-BGWBlaenau Gwent
GB-BGEBridgend
GB-CAYCaerphilly
GB-CRFCardiff
GB-CMNCarmarthenshire
GB-CGNCeredigion
GB-CWYConwy
GB-DENDenbighshire
GB-FLNFlintshire
GB-GWNGwynedd
GB-MTYMerthyr Tydfil
GB-MONMonmouthshire
GB-NTLNeath Port Talbot
GB-NWPNewport
GB-PEMPembrokeshire
GB-POWPowys
GB-RCTRhondda
GB-SWASwansea
GB-TOFTorfaen
GB-VGLVale of Glamorgan
GB-WRXWrexham
  • Ukraine
ISOName of region
UA-71Cherkasy
UA-74Chernihiv
UA-77Chernivtsi
UA-43Crimea
UA-12Dnipropetrovs’k
UA-14Donets’k
UA-26Ivano-Frankivs’k
UA-63Kharkiv
UA-65Kherson
UA-68Khmel’nyts’kyy
UA-30Kiev City
UA-32Kiev
UA-35Kirovohrad
UA-46L’viv
UA-09Luhans’k
UA-48Mykolayiv
UA-51Odessa
UA-53Poltava
UA-56Rivne
UA-40Sevastopol’
UA-59Sumy
UA-61Ternopil’
UA-21Transcarpathia
UA-05Vinnytsya
UA-07Volyn
UA-23Zaporizhzhya
UA-18Zhytomyr
  • Usa
ISOName of region
US-ALAlabama
US-AKAlaska
US-AKAlaska
US-AZArizona
US-ARArkansas
US-CACalifornia
US-COColorado
US-CTConnecticut
US-DEDelaware
US-DCDistrict of Columbia
US-FLFlorida
US-GAGeorgia
US-HIHawaii
US-IDIdaho
US-ILIllinois
US-INIndiana
US-IAIowa
US-KSKansas
US-KYKentucky
US-LALouisiana
US-MEMaine
US-MDMaryland
US-MAMassachusetts
US-MIMichigan
US-MNMinnesota
US-MSMississippi
US-MOMissouri
US-MTMontana
US-NENebraska
US-NVNevada
US-NHNew Hampshire
US-NJNew Jersey
US-NMNew Mexico
US-NYNew York
US-NCNorth Carolina
US-NDNorth Dakota
US-OHOhio
US-OKOklahoma
US-OROregon
US-PAPennsylvania
US-RIRhode Island
US-SCSouth Carolina
US-SDSouth Dakota
US-TNTennessee
US-TXTexas
US-UTUtah
US-VTVermont
US-VAVirginia
US-WAWashington
US-WVWest Virginia
US-WIWisconsin
US-WYWyoming

You need to add a new Country ?

To add a new country in country map tools, we need follow next steps :

  1. You need shapfiles why contains data of your map. You can get this file in this site : http://www.diva-gis.org/gdata
  2. You need to add ISO 3166-2 with column name ISO for all record in your file. It’s important because, it’s a norm for mapping your data with geojson file
  3. You need to convert shapfile to geojson file. This action can make with ogr2ogr tools : http://www.gdal.org/ogr2ogr.html
  4. Put your geojson file in next folder : superset/assets/visualizations/countries with the next name : nameofyourcountries.geojson
  5. You can to reduce size of geojson file ont this site : http://mapshaper.org/
  6. Go in file superset/assets/javascripts/explorev2/stores/controls.jsx
  7. Add your country in component ‘select_country’ Example :
select_country: {
    type: 'SelectControl',
    label: 'Country Name Type',
    default: 'France',
    choices: [
    'Belgium',
    'Brazil',
    'China',
    'Egypt',
    'France',
    'Germany',
    'Italy',
    'Morocco',
    'Netherlands',
    'Russia',
    'Singapore',
    'Spain',
    'Uk',
    'Usa',
    ].map(s => [s, s]),
    description: 'The name of country that Superset should display',
},