# 世界地图 **Repository Path**: NFUNM076/world_map ## Basic Information - **Project Name**: 世界地图 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-26 - **Last Updated**: 2024-10-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 世界地图
In [2]:
import pandas as pd
In [3]:
df=pd.read_csv('C:/Users/15713/Desktop/R/Friday/popular2020.csv')
df
Out[3]:
LocID Location VarID Variant Time MidPeriod PopMale PopFemale PopTotal
0 716 Zimbabwe 2 Medium 2010 2010.5 6049.024 6648.704 12697.728
1 894 Zambia 2 Medium 2010 2010.5 6718.512 6887.474 13605.986
2 887 Yemen 2 Medium 2010 2010.5 11671.585 11483.269 23154.854
3 1801 World Bank Regional Groups (developing only) 2 Medium 2010 2010.5 2912874.221 2844203.536 5757077.757
4 900 World 2 Medium 2010 2010.5 3507703.635 3449119.953 6956823.588
5 1598 WHO: Western Pacific region (WPRO) 2 Medium 2010 2010.5 929185.092 892726.827 1821911.919
6 1597 WHO: South-East Asia region (SEARO) 2 Medium 2010 2010.5 932599.232 882855.983 1815455.215
7 1594 WHO: European Region (EURO) 2 Medium 2010 2010.5 432975.113 462675.161 895650.274
8 1595 WHO: Eastern Mediterranean Region (EMRO) 2 Medium 2010 2010.5 305738.126 287577.136 593315.262
9 1596 WHO: Americas (AMRO) 2 Medium 2010 2010.5 458476.603 470823.979 929300.582
10 1593 WHO: African region (AFRO) 2 Medium 2010 2010.5 427577.214 430835.508 858412.722
11 1820 WHO Regions 2 Medium 2010 2010.5 3486551.380 3427494.594 6914045.974
12 732 Western Sahara 2 Medium 2010 2010.5 252.879 227.389 480.268
13 1827 Western European and Others Group (WEOG) 2 Medium 2010 2010.5 426273.755 440543.642 866817.397
14 926 Western Europe 2 Medium 2010 2010.5 91964.657 96161.655 188126.312
15 922 Western Asia 2 Medium 2010 2010.5 120859.671 111566.846 232426.517
16 914 Western Africa 2 Medium 2010 2010.5 154152.620 152887.790 307040.410
17 1543 West African Economic and Monetary Union (UEMOA) 2 Medium 2010 2010.5 48572.997 48900.209 97473.206
18 1508 WB region: Sub-Saharan Africa (excluding high ... 2 Medium 2010 2010.5 432617.087 436315.811 868932.898
19 1513 WB region: South Asia (excluding high income) 2 Medium 2010 2010.5 848264.325 790528.602 1638792.927
20 1512 WB region: Middle East and North Africa (exclu... 2 Medium 2010 2010.5 167764.889 165282.424 333047.313
21 1511 WB region: Latin America and Caribbean (exclud... 2 Medium 2010 2010.5 256147.551 262931.498 519079.049
22 1510 WB region: Europe and Central Asia (excluding ... 2 Medium 2010 2010.5 190988.910 209166.721 400155.631
23 1509 WB region: East Asia and Pacific (excluding hi... 2 Medium 2010 2010.5 1017091.459 979978.480 1997069.939
24 876 Wallis and Futuna Islands 2 Medium 2010 2010.5 NaN NaN 12.686
25 704 Viet Nam 2 Medium 2010 2010.5 43746.366 44221.289 87967.655
26 862 Venezuela (Bolivarian Republic of) 2 Medium 2010 2010.5 14189.756 14250.186 28439.942
27 548 Vanuatu 2 Medium 2010 2010.5 119.933 116.283 236.216
28 860 Uzbekistan 2 Medium 2010 2010.5 14182.209 14333.699 28515.908
29 858 Uruguay 2 Medium 2010 2010.5 1618.886 1740.387 3359.273
... ... ... ... ... ... ... ... ... ...
429 2068 Belt-Road Initiative: Africa 2 Medium 2010 2010.5 462361.624 464389.655 926751.279
430 2067 Belt-Road Initiative (BRI) 2 Medium 2010 2010.5 1450012.631 1458296.805 2908309.436
431 84 Belize 2 Medium 2010 2010.5 161.328 161.137 322.465
432 56 Belgium 2 Medium 2010 2010.5 5371.961 5566.774 10938.735
433 112 Belarus 2 Medium 2010 2010.5 4379.731 5040.845 9420.576
434 52 Barbados 2 Medium 2010 2010.5 135.386 146.745 282.131
435 50 Bangladesh 2 Medium 2010 2010.5 75015.692 72559.741 147575.433
436 48 Bahrain 2 Medium 2010 2010.5 774.051 466.813 1240.864
437 44 Bahamas 2 Medium 2010 2010.5 172.007 182.929 354.936
438 31 Azerbaijan 2 Medium 2010 2010.5 4475.090 4557.375 9032.465
439 40 Austria 2 Medium 2010 2010.5 4098.642 4311.303 8409.945
440 927 Australia/New Zealand 2 Medium 2010 2010.5 13225.135 13299.612 26524.747
441 36 Australia 2 Medium 2010 2010.5 11079.372 11075.315 22154.687
442 1557 Association of Southeast Asian Nations (ASEAN) 2 Medium 2010 2010.5 297791.832 298061.897 595853.729
443 1824 Asia-Pacific Group 2 Medium 2010 2010.5 2146698.270 2045009.522 4191707.792
444 1207 Asia-Pacific Economic Cooperation (APEC) 2 Medium 2010 2010.5 1401101.618 1381299.121 2782400.739
445 935 Asia 2 Medium 2010 2010.5 2155312.337 2054281.387 4209593.724
446 533 Aruba 2 Medium 2010 2010.5 48.465 53.200 101.665
447 51 Armenia 2 Medium 2010 2010.5 1346.351 1530.963 2877.314
448 32 Argentina 2 Medium 2010 2010.5 19898.751 20997.000 40895.751
449 28 Antigua and Barbuda 2 Medium 2010 2010.5 42.118 45.912 88.030
450 660 Anguilla 2 Medium 2010 2010.5 NaN NaN 13.436
451 24 Angola 2 Medium 2010 2010.5 11549.277 11806.970 23356.247
452 20 Andorra 2 Medium 2010 2010.5 NaN NaN 84.454
453 1533 Andean Community 2 Medium 2010 2010.5 49210.020 50100.070 99310.090
454 16 American Samoa 2 Medium 2010 2010.5 NaN NaN 56.084
455 12 Algeria 2 Medium 2010 2010.5 18161.360 17816.091 35977.451
456 8 Albania 2 Medium 2010 2010.5 1485.068 1462.961 2948.029
457 903 Africa 2 Medium 2010 2010.5 518252.648 521051.382 1039304.030
458 4 Afghanistan 2 Medium 2010 2010.5 14935.756 14249.755 29185.511

459 rows × 9 columns

In [4]:
df.PopTotal
Out[4]:
0        12697.728
1        13605.986
2        23154.854
3      5757077.757
4      6956823.588
5      1821911.919
6      1815455.215
7       895650.274
8       593315.262
9       929300.582
10      858412.722
11     6914045.974
12         480.268
13      866817.397
14      188126.312
15      232426.517
16      307040.410
17       97473.206
18      868932.898
19     1638792.927
20      333047.313
21      519079.049
22      400155.631
23     1997069.939
24          12.686
25       87967.655
26       28439.942
27         236.216
28       28515.908
29        3359.273
          ...     
429     926751.279
430    2908309.436
431        322.465
432      10938.735
433       9420.576
434        282.131
435     147575.433
436       1240.864
437        354.936
438       9032.465
439       8409.945
440      26524.747
441      22154.687
442     595853.729
443    4191707.792
444    2782400.739
445    4209593.724
446        101.665
447       2877.314
448      40895.751
449         88.030
450         13.436
451      23356.247
452         84.454
453      99310.090
454         56.084
455      35977.451
456       2948.029
457    1039304.030
458      29185.511
Name: PopTotal, Length: 459, dtype: float64
In [5]:
df.Location
Out[5]:
0                                               Zimbabwe
1                                                 Zambia
2                                                  Yemen
3           World Bank Regional Groups (developing only)
4                                                  World
5                     WHO: Western Pacific region (WPRO)
6                    WHO: South-East Asia region (SEARO)
7                            WHO: European Region (EURO)
8               WHO: Eastern Mediterranean Region (EMRO)
9                                   WHO: Americas (AMRO)
10                            WHO: African region (AFRO)
11                                           WHO Regions
12                                        Western Sahara
13              Western European and Others Group (WEOG)
14                                        Western Europe
15                                          Western Asia
16                                        Western Africa
17      West African Economic and Monetary Union (UEMOA)
18     WB region: Sub-Saharan Africa (excluding high ...
19         WB region: South Asia (excluding high income)
20     WB region: Middle East and North Africa (exclu...
21     WB region: Latin America and Caribbean (exclud...
22     WB region: Europe and Central Asia (excluding ...
23     WB region: East Asia and Pacific (excluding hi...
24                             Wallis and Futuna Islands
25                                              Viet Nam
26                    Venezuela (Bolivarian Republic of)
27                                               Vanuatu
28                                            Uzbekistan
29                                               Uruguay
                             ...                        
429                         Belt-Road Initiative: Africa
430                           Belt-Road Initiative (BRI)
431                                               Belize
432                                              Belgium
433                                              Belarus
434                                             Barbados
435                                           Bangladesh
436                                              Bahrain
437                                              Bahamas
438                                           Azerbaijan
439                                              Austria
440                                Australia/New Zealand
441                                            Australia
442       Association of Southeast Asian Nations (ASEAN)
443                                   Asia-Pacific Group
444             Asia-Pacific Economic Cooperation (APEC)
445                                                 Asia
446                                                Aruba
447                                              Armenia
448                                            Argentina
449                                  Antigua and Barbuda
450                                             Anguilla
451                                               Angola
452                                              Andorra
453                                     Andean Community
454                                       American Samoa
455                                              Algeria
456                                              Albania
457                                               Africa
458                                          Afghanistan
Name: Location, Length: 459, dtype: object
In [6]:
A=list(zip(list(df.Location),list(df.PopTotal)))
A
Out[6]:
[('Zimbabwe', 12697.728000000001),
 ('Zambia', 13605.986),
 ('Yemen', 23154.854),
 ('World Bank Regional Groups (developing only)', 5757077.757),
 ('World', 6956823.5879999995),
 ('WHO: Western Pacific region (WPRO)', 1821911.919),
 ('WHO: South-East Asia region (SEARO)', 1815455.215),
 ('WHO: European Region (EURO)', 895650.2740000001),
 ('WHO: Eastern Mediterranean Region (EMRO)', 593315.262),
 ('WHO: Americas (AMRO)', 929300.582),
 ('WHO: African region (AFRO)', 858412.7220000001),
 ('WHO Regions', 6914045.973999999),
 ('Western Sahara', 480.26800000000003),
 ('Western European and Others Group (WEOG)', 866817.397),
 ('Western Europe', 188126.312),
 ('Western Asia', 232426.517),
 ('Western Africa', 307040.41),
 ('West African Economic and Monetary Union (UEMOA)', 97473.20599999999),
 ('WB region: Sub-Saharan Africa (excluding high income)', 868932.8979999999),
 ('WB region: South Asia (excluding high income)', 1638792.927),
 ('WB region: Middle East and North Africa (excluding high income)',
  333047.313),
 ('WB region: Latin America and Caribbean (excluding high income)',
  519079.049),
 ('WB region: Europe and Central Asia (excluding high income)', 400155.631),
 ('WB region: East Asia and Pacific (excluding high income)', 1997069.939),
 ('Wallis and Futuna Islands', 12.686),
 ('Viet Nam', 87967.655),
 ('Venezuela (Bolivarian Republic of)', 28439.942000000003),
 ('Vanuatu', 236.21599999999998),
 ('Uzbekistan', 28515.908),
 ('Uruguay', 3359.2729999999997),
 ('Upper-middle-income countries', 2466363.506),
 ('United States Virgin Islands', 106.086),
 ('United States of America (and dependencies)', 312966.891),
 ('United States of America', 309011.469),
 ('United Republic of Tanzania', 44346.532),
 ('UNITED NATIONS Regional Groups of Member States', 6952286.904),
 ('United Nations Member States', 6952286.905),
 ('United Nations Economic Commission for Latin America and the Caribbean (UN-ECLAC)',
  591349.443),
 ('United Nations Economic Commission for Africa (UN-ECA)',
  1037779.3559999999),
 ('United Nations Economic and Social Commission for Asia and the Pacific (UN-ESCAP) Regions',
  4222654.045),
 ('United Kingdom (and dependencies)', 63946.89),
 ('United Kingdom', 63459.801),
 ('United Arab Emirates', 8549.998),
 ('UNICEF Regions: Western Europe', 484182.775),
 ('UNICEF Regions: West and Central Africa', 415306.294),
 ('UNICEF Regions: Sub-Saharan Africa', 870908.771),
 ('UNICEF Regions: South Asia', 1638792.927),
 ('UNICEF Regions: North America', 343287.422),
 ('UNICEF Regions: Middle East and North Africa', 385135.811),
 ('UNICEF Regions: Latin America and Caribbean', 591352.345),
 ('UNICEF Regions: Europe and Central Asia', 888666.569),
 ('UNICEF Regions: Eastern Europe and Central Asia', 404483.794),
 ('UNICEF Regions: Eastern and Southern Africa', 455602.477),
 ('UNICEF Regions: East Asia and Pacific', 2238679.7430000002),
 ('UNICEF REGIONS', 6956823.5879999995),
 ('UNICEF Programme Regions: West and Central Africa (WCARO)',
  415301.11100000003),
 ('UNICEF Programme Regions: South Asia (ROSA)', 1638792.927),
 ('UNICEF Programme Regions: Middle East and North Africa (MENARO)',
  412694.305),
 ('UNICEF Programme Regions: Latin America and Caribbean (LACRO)',
  585865.3960000001),
 ('UNICEF Programme Regions: Latin America', 583579.839),
 ('UNICEF Programme Regions: Europe and Central Asia (CEECIS)', 261004.521),
 ('UNICEF Programme Regions: Eastern Caribbean', 2285.5570000000002),
 ('UNICEF Programme Regions: Eastern and Southern Africa (ESARO)', 417838.82),
 ('UNICEF Programme Regions: East Asia and Pacific (EAPRO)',
  1997052.9519999998),
 ('UNICEF PROGRAMME REGIONS', 5728550.032000001),
 ('UNFPA: West and Central Africa (WCA)', 350737.258),
 ('UNFPA: Latin America and the Caribbean (LAC)', 586627.411),
 ('UNFPA: Eastern Europe and Central Asia (EECA)', 228155.208),
 ('UNFPA: East and Southern Africa (ESA)', 471606.74),
 ('UNFPA: Asia and the Pacific (AP)', 3709608.398),
 ('UNFPA: Arab States (AS)', 308915.12899999996),
 ('UNFPA Regions', 5655650.143999999),
 ('UN-ECE: member countries', 1238845.305),
 ('Ukraine', 45792.085999999996),
 ('Uganda', 32428.164),
 ('Tuvalu', 10.520999999999999),
 ('Turks and Caicos Islands', 32.658),
 ('Turkmenistan', 5087.210999999999),
 ('Turkey', 72326.992),
 ('Tunisia', 10635.245),
 ('Trinidad and Tobago', 1328.144),
 ('Tonga', 103.98100000000001),
 ('Tokelau', 1.129),
 ('Togo', 6421.674),
 ('Timor-Leste', 1093.517),
 ('Thailand', 67195.032),
 ('Tajikistan', 7527.397),
 ('Syrian Arab Republic', 21362.541),
 ('Switzerland', 7808.674),
 ('Sweden', 9390.157),
 ('Suriname', 529.126),
 ('Sudan', 34545.013999999996),
 ('Sub-Saharan Africa', 836363.757),
 ('State of Palestine', 4055.632),
 ('Sri Lanka', 20261.738),
 ('Spain', 46931.011),
 ('Southern Europe', 153015.518),
 ('Southern Common Market (MERCOSUR)', 284705.217),
 ('Southern Asia', 1712555.446),
 ('Southern African Development Community (SADC)', 278205.45),
 ('Southern Africa', 58383.365999999995),
 ('South-Eastern Asia', 596947.246),
 ('South Sudan', 9508.372),
 ('South Asian Association for Regional Cooperation (SAARC)', 1638792.927),
 ('South America', 392543.695),
 ('South Africa', 51216.967000000004),
 ('Somalia', 12043.886),
 ('Solomon Islands', 527.861),
 ('Small Island Developing States (SIDS)', 65253.137),
 ('Slovenia', 2043.336),
 ('Slovakia', 5404.293000000001),
 ('Sint Maarten (Dutch part)', 34.166),
 ('Singapore', 5131.17),
 ('Sierra Leone', 6415.6359999999995),
 ('SIDS Pacific', 10334.507),
 ('SIDS Caribbean', 41196.399),
 ('SIDS Atlantic, and Indian Ocean, Mediterranean and South China Sea (AIMS)',
  13722.231000000002),
 ('Shanghai Cooperation Organization (SCO)', 2983713.559),
 ('Seychelles', 91.273),
 ('Serbia', 8991.258),
 ('Senegal', 12678.143),
 ('Saudi Arabia', 27421.467999999997),
 ('Sao Tome and Principe', 180.372),
 ('San Marino', 31.221),
 ('Samoa', 185.94400000000002),
 ('Saint Vincent and the Grenadines', 108.26),
 ('Saint Pierre and Miquelon', 6.361000000000001),
 ('Saint Martin (French part)', 37.582),
 ('Saint Lucia', 174.092),
 ('Saint Kitts and Nevis', 49.011),
 ('Saint Helena', 5.183),
 ('Saint Barthélemy', 9.234),
 ('Réunion', 830.507),
 ('Rwanda', 10039.338),
 ('Russian Federation', 143479.27300000002),
 ('Romania', 20471.86),
 ('Republic of Moldova', 4086.09),
 ('Republic of Korea', 49545.638),
 ('Qatar', 1856.329),
 ('Puerto Rico', 3579.842),
 ('Portugal', 10596.055),
 ('Polynesia', 656.808),
 ('Poland', 38329.784),
 ('Philippines', 93966.784),
 ('Peru', 29027.68),
 ('Paraguay', 6248.017),
 ('Papua New Guinea', 7310.512),
 ('Panama', 3642.691),
 ('Palau', 17.954),
 ('Pakistan', 179424.643),
 ('Organization of the Islamic Conference (OIC)', 1568550.08),
 ('Organization of Petroleum Exporting countries (OPEC)', 416794.994),
 ('Organization of American States (OAS)', 929300.582),
 ('Organization for Security and Co-operation in Europe (OSCE)', 1234219.544),
 ('Organisation for Economic Co-operation and Development (OECD)',
  1240742.575),
 ('Oman', 3041.435),
 ('Oceania (excluding Australia and New Zealand)', 10348.322),
 ('Oceania', 36873.068999999996),
 ('Norway', 4885.878),
 ('Northern Mariana Islands', 53.971000000000004),
 ('Northern Europe', 100398.30099999999),
 ('Northern America', 343287.422),
 ('Northern America', 343287.422),
 ('Northern Africa and Western Asia', 435366.79),
 ('Northern Africa', 202940.27300000002),
 ('North Macedonia', 2070.737),
 ('North Atlantic Treaty Organization (NATO)', 897896.355),
 ('North American Free Trade Agreement (NAFTA)', 457251.99600000004),
 ('Non-Self-Governing Territories', 1565.499),
 ('No income group available', 2650.79),
 ('Niue', 1.6219999999999999),
 ('Nigeria', 158503.203),
 ('Niger', 16464.025),
 ('Nicaragua', 5824.058000000001),
 ('New Zealand (and dependencies)', 4391.2029999999995),
 ('New Zealand', 4370.06),
 ('New EU member states (joined since 2004)', 106567.998),
 ('New Caledonia', 253.52900000000002),
 ('Netherlands (and dependencies)', 16988.887),
 ('Netherlands', 16682.927),
 ('Nepal', 27013.207000000002),
 ('Nauru', 10.009),
 ('Namibia', 2118.877),
 ('Myanmar', 50600.827000000005),
 ('Mozambique', 23531.567000000003),
 ('Morocco', 32343.384),
 ('More developed: Oceania', 26524.747000000003),
 ('More developed: Northern America', 343287.422),
 ('More developed: Europe', 736412.998),
 ('More developed: Asia', 128542.349),
 ('More developed regions', 1234767.5159999998),
 ('Montserrat', 4.895),
 ('Montenegro', 624.279),
 ('Mongolia', 2719.902),
 ('Monaco', 35.609),
 ('Middle-income countries', 5153738.178),
 ('Middle Africa', 131622.131),
 ('Micronesia (Fed. States of)', 102.916),
 ('Micronesia', 503.58),
 ('Mexico', 114092.961),
 ('Melanesia', 9187.934000000001),
 ('Mayotte', 208.71599999999998),
 ('Mauritius', 1247.953),
 ('Mauritania', 3494.2),
 ('Martinique', 394.666),
 ('Marshall Islands', 56.361000000000004),
 ('Malta', 414.25699999999995),
 ('Mali', 15049.351999999999),
 ('Maldives', 365.73),
 ('Malaysia', 28208.028),
 ('Malawi', 14539.608999999999),
 ('Madagascar', 21151.64),
 ('Luxembourg', 507.89),
 ('Low-income countries', 603339.579),
 ('Lower-middle-income countries', 2687374.672),
 ('LLDC: Latin America', 16296.614),
 ('LLDC: Europe', 6156.826999999999),
 ('LLDC: Asia', 140568.156),
 ('LLDC: Africa', 257639.77399999998),
 ('Lithuania', 3123.825),
 ('Liechtenstein', 35.996),
 ('Libya', 6197.6669999999995),
 ('Liberia', 3891.357),
 ('Less developed: Oceania', 10348.322),
 ('Less developed: Latin America and the Caribbean', 591352.345),
 ('Less developed: Asia', 4081051.375),
 ('Less developed: Africa', 1039304.03),
 ('Less developed regions, excluding least developed countries',
  4885441.231000001),
 ('Less developed regions, excluding China', 4322553.373),
 ('Less developed regions', 5722056.072000001),
 ('Lesotho', 1995.575),
 ('Lebanon', 4953.064),
 ('Least developed: Oceania', 877.528),
 ('Least developed: Latin America and the Caribbean', 9949.318000000001),
 ('Least developed: Asia', 299870.224),
 ('Least developed: Africa', 525917.7710000001),
 ('Least developed countries', 836614.8409999999),
 ('League of Arab States (LAS, informal name: Arab League)',
  355159.56799999997),
 ('Latvia', 2118.855),
 ('Latin American Integration Association (ALADI)', 519990.726),
 ('Latin American and Caribbean Group (GRULAC)', 586141.547),
 ('Latin America and the Caribbean', 591352.345),
 ('Latin America and the Caribbean', 591352.345),
 ("Lao People's Democratic Republic", 6249.168000000001),
 ('Land-locked Developing Countries (LLDC)', 420661.37100000004),
 ('Land-locked Countries (Others)', 61158.984000000004),
 ('Land-locked Countries', 481820.355),
 ('Kyrgyzstan', 5422.298000000001),
 ('Kuwait', 2991.884),
 ('Kiribati', 102.93),
 ('Kenya', 42030.684),
 ('Kazakhstan', 16252.273000000001),
 ('Jordan', 7261.541),
 ('Japan', 128542.349),
 ('Jamaica', 2810.4640000000004),
 ('Italy', 59325.232),
 ('Israel', 7346.446),
 ('Isle of Man', 84.85600000000001),
 ('Ireland', 4554.33),
 ('Iraq', 29741.977000000003),
 ('Iran (Islamic Republic of)', 73762.519),
 ('Indonesia', 241834.22600000002),
 ('India', 1234281.163),
 ('Iceland', 320.342),
 ('Hungary', 9927.38),
 ('Honduras', 8317.466999999999),
 ('Holy See', 0.7829999999999999),
 ('High-income countries', 1197095.041),
 ('Haiti', 9949.318000000001),
 ('Guyana', 749.43),
 ('Gulf Cooperation Council (GCC)', 45101.977999999996),
 ('Guinea-Bissau', 1522.6029999999998),
 ('Guinea', 10192.168),
 ('Guatemala', 14630.42),
 ('Guam', 159.439),
 ('Guadeloupe', 406.07300000000004),
 ('Group of Twenty (G20) - member states', 4299966.32),
 ('Group of Seven (G7)', 738192.953),
 ('Group of Eight (G8)', 881672.2259999999),
 ('Group of 77 (G77)', 5376858.199),
 ('Grenada', 106.227),
 ('Greenland', 56.638000000000005),
 ('Greece', 10887.64),
 ('Greater Arab Free Trade Area (GAFTA)', 338091.592),
 ('Gibraltar', 33.585),
 ('Ghana', 24779.613999999998),
 ('Germany', 80827.00099999999),
 ('Georgia', 4099.096),
 ('Gambia', 1793.1989999999998),
 ('Gabon', 1624.146),
 ('French Polynesia', 266.449),
 ('French Guiana', 232.99599999999998),
 ('France (and dependencies)', 65538.334),
 ('France', 62879.535),
 ('Finland', 5365.784000000001),
 ('Fiji', 859.816),
 ('Faroe Islands', 47.803000000000004),
 ('Falkland Islands (Malvinas)', 2.9019999999999997),
 ('European Union (EU: 28)', 502878.89),
 ('European Union (EU: 15)', 396310.89200000005),
 ('European Free Trade Agreement (EFTA)', 13050.89),
 ('European Community (EC: 12)', 373145.006),
 ('Europe and Northern America', 1079700.42),
 ('Europe (48)', 736412.998),
 ('Europe', 736412.998),
 ('Europe', 736412.998),
 ('Eurasian Economic Community (Eurasec)', 210617.725),
 ('Ethiopia', 87639.962),
 ('Eswatini', 1064.8410000000001),
 ('Estonia', 1332.1029999999998),
 ('ESCWA: member countries', 305608.341),
 ('ESCWA: Mashreq countries', 150135.999),
 ('ESCWA: Maghreb countries', 85153.74699999999),
 ('ESCWA: Gulf Cooperation Council countries', 45101.977999999996),
 ('ESCWA: Arab least developed countries', 74767.844),
 ('ESCWA: Arab countries', 355159.56799999997),
 ('ESCAP: WB Upper middle income econ.', 1789619.959),
 ('ESCAP: WB Lower middle income econ.', 2133886.04),
 ('ESCAP: WB Low income econ.', 80747.558),
 ('ESCAP: WB income groups', 4222634.031),
 ('ESCAP: WB High income econ.', 218380.474),
 ('ESCAP: upper middle income', 1629867.381),
 ('ESCAP: upper middle HDI', 367769.965),
 ('ESCAP: SAARC', 1638792.927),
 ('ESCAP: Pacific island dev. econ.', 10334.507),
 ('ESCAP: other Asia-Pacific countries/areas', 166179.404),
 ('ESCAP: lower middle income', 522258.756),
 ('ESCAP: lower middle HDI', 1930804.585),
 ('ESCAP: low income', 1852477.8630000001),
 ('ESCAP: low HDI', 1706229.0080000001),
 ('ESCAP: Least Developed Countries (LDCs)', 277592.898),
 ('ESCAP: Landlocked countries (LLDCs)', 140568.156),
 ('ESCAP: income groups', 4222654.045),
 ('ESCAP: high income', 218050.045),
 ('ESCAP: high HDI', 217850.487),
 ('ESCAP: HDI groups', 4222654.045),
 ('ESCAP: ECO', 426537.217),
 ('ESCAP: Central Asia', 78813.962),
 ('ESCAP: ASEAN', 595853.7289999999),
 ('ESCAP: ADB Group C (Regular OCR only)', 1946470.634),
 ('ESCAP: ADB Group B\xa0(OCR blend)', 1600939.032),
 ('ESCAP: ADB Group A (Concessional assistance\xa0only)', 142698.584),
 ('ESCAP: ADB Developing member countries (DMCs)', 3690108.25),
 ('ESCAP region: South-East Asia', 596947.246),
 ('ESCAP region: South and South-West Asia', 1784882.438),
 ('ESCAP region: Pacific', 36859.254),
 ('ESCAP region: North and Central Asia', 222293.235),
 ('ESCAP region: East and North-East Asia', 1581671.872),
 ('Eritrea', 3170.437),
 ('Equatorial Guinea', 943.64),
 ('El Salvador', 6183.8769999999995),
 ('Egypt', 82761.244),
 ('Ecuador', 15011.114),
 ('Economic Cooperation Organization (ECO)', 426537.217),
 ('Economic Community of West African States (ECOWAS)', 303541.027),
 ('Economic Community of Central African States (ECCAS)', 150337.075),
 ('ECLAC: The Caribbean', 12181.089),
 ('ECLAC: Latin America', 579168.3539999999),
 ('ECE: UNECE-52', 1238658.025),
 ('ECE: North America-2', 343159.035),
 ('Eastern European Group', 342167.805),
 ('Eastern Europe', 294872.86699999997),
 ('Eastern Asia', 1604859.428),
 ('Eastern and South-Eastern Asia', 2201806.674),
 ('Eastern Africa', 339317.85),
 ('East African Community (EAC)', 147028.696),
 ('Dominican Republic', 9695.117),
 ('Dominica', 70.877),
 ('Djibouti', 840.194),
 ('Denmark (and dependencies)', 5659.29),
 ('Denmark', 5554.849),
 ('Democratic Republic of the Congo', 64563.852999999996),
 ("Dem. People's Republic of Korea", 24548.84),
 ("Côte d'Ivoire", 20532.944),
 ('Czechia', 10536.514),
 ('Cyprus', 1112.617),
 ('Curaçao', 149.188),
 ('Cuba', 11225.833),
 ('Croatia', 4328.163),
 ('Countries with Access to the Sea', 6475004.016),
 ('Costa Rica', 4577.371),
 ('Cook Islands', 18.392),
 ('Congo', 4273.738),
 ('Comoros', 689.696),
 ('Commonwealth: Pacific', 35872.537000000004),
 ('Commonwealth: Europe', 64986.675),
 ('Commonwealth: Caribbean and Americas', 40591.633),
 ('Commonwealth: Asia', 1615270.8090000001),
 ('Commonwealth: Africa', 452077.36),
 ('Commonwealth of Nations', 2208799.014),
 ('Commonwealth of Independent States (CIS)', 277492.891),
 ('Colombia', 45222.699),
 ('China', 1368810.604),
 ('Chile', 17062.531000000003),
 ('Channel Islands', 159.718),
 ('Chad', 11952.133999999998),
 ('Central European Free Trade Agreement (CEFTA)', 26754.034),
 ('Central Asia', 62805.087),
 ('Central and Southern Asia', 1775360.533),
 ('Central America', 157591.31),
 ('Central African Republic', 4386.765),
 ('Cayman Islands', 56.672),
 ('Caribbean Community and Common Market (CARICOM)', 16927.406000000003),
 ('Caribbean', 41217.34),
 ('Canada', 34147.566),
 ('Cameroon', 20341.236),
 ('Cambodia', 14312.205),
 ('Cabo Verde', 492.644),
 ('Burundi', 8675.606),
 ('Burkina Faso', 15605.211000000001),
 ('Bulgaria', 7425.0109999999995),
 ('Brunei Darussalam', 388.634),
 ('British Virgin Islands', 27.796),
 ('BRICS', 2993501.644),
 ('BRIC', 2942284.6769999997),
 ('Brazil', 195713.637),
 ('Botswana', 1987.106),
 ('Bosnia and Herzegovina', 3705.478),
 ('Bonaire, Sint Eustatius and Saba', 20.941),
 ('Bolivia (Plurinational State of)', 10048.597),
 ('Bolivarian Alliance for the Americas (ALBA)', 56134.927),
 ('Black Sea Economic Cooperation (BSEC)', 332417.114),
 ('Bhutan', 685.502),
 ('Bermuda', 65.388),
 ('Benin', 9199.254),
 ('Belt-Road Initiative: Pacific', 13189.458999999999),
 ('Belt-Road Initiative: Latin America and the Caribbean', 189461.15399999998),
 ('Belt-Road Initiative: Europe', 416299.94899999996),
 ('Belt-Road Initiative: Asia', 1362607.595),
 ('Belt-Road Initiative: Africa', 926751.2790000001),
 ('Belt-Road Initiative (BRI)', 2908309.436),
 ('Belize', 322.465),
 ('Belgium', 10938.735),
 ('Belarus', 9420.576),
 ('Barbados', 282.131),
 ('Bangladesh', 147575.43300000002),
 ('Bahrain', 1240.864),
 ('Bahamas', 354.936),
 ('Azerbaijan', 9032.465),
 ('Austria', 8409.945),
 ('Australia/New Zealand', 26524.747000000003),
 ('Australia', 22154.687),
 ('Association of Southeast Asian Nations (ASEAN)', 595853.7289999999),
 ('Asia-Pacific Group', 4191707.792),
 ('Asia-Pacific Economic Cooperation (APEC)', 2782400.7389999996),
 ('Asia', 4209593.723999999),
 ('Aruba', 101.665),
 ('Armenia', 2877.3140000000003),
 ('Argentina', 40895.751000000004),
 ('Antigua and Barbuda', 88.03),
 ('Anguilla', 13.436),
 ('Angola', 23356.247000000003),
 ('Andorra', 84.454),
 ('Andean Community', 99310.09),
 ('American Samoa', 56.083999999999996),
 ('Algeria', 35977.451),
 ('Albania', 2948.0290000000005),
 ('Africa', 1039304.03),
 ('Afghanistan', 29185.511000000002)]
In [7]:
import pyecharts
from pyecharts.faker import Faker
from pyecharts import options as opts
from pyecharts.charts import Map
from pyecharts.globals import ChartType, SymbolType

def map_world() -> Map:
    c = (
        Map()
        .add("2020年世界人口数量", A, "world")
        .set_series_opts(label_opts=opts.LabelOpts(is_show=False))
        .set_global_opts(
            title_opts=opts.TitleOpts(title="Map-世界地图"),
            visualmap_opts=opts.VisualMapOpts(max_=500000000),
        )
    )
    return c

map_world().render_notebook()
Out[7]: