變量數量篩選分析echarts value配置项内容和展示

data from wordbank

配置项如下
      var geoCoordMap = {
    "CHN": [116, 40],
'AFG': [67.709953,33.9391],
'ARE': [53.847818,23.4241],
'OMN': [55.923255,21.5126],
'PAK': [69.345116,30.3753],
'BHR': [50.637772,25.9304],
'PRK': [127.510093,40.3399],
'TLS': [125.727539,-8.8742],
'PHL': [121.774017,12.8797],
'KAZ': [66.923684,48.0196],
'KOR': [127.766922,35.9078],
'KGZ': [74.766098,41.2044],
'KHM': [104.990963,12.5657],
'QAT': [51.183884,25.3548],
'KWT': [47.481766,29.3117],
'LAO': [102.495496,19.8563],
'LBN': [35.862285,33.8547],
'MDV': [73.22068,3.20278],
'MYS': [101.975766,4.21048],
'MNG': [103.846656,46.8625],
'BGD': [90.356331,23.685],
'MMR': [95.956223,21.914],
'NPL': [84.124008,28.3949],
'JPN': [138.252924,36.2048],
'CYP': [33.429859,35.1264],
'SAU': [45.079162,23.8859],
'LKA': [80.771797,7.87305],
'TJK': [71.276093,38.861],
'THA': [100.992541,15.87],
'TUR': [35.243322,38.9637],
'TKM': [59.556278,38.9697],
'BRN': [114.727669,4.53528],
'UZB': [64.585262,41.3775],
'SGP': [103.819836,1.35208],
'SYR': [38.996815,34.8021],
'YEM': [48.516388,15.5527],
'IRQ': [43.679291,33.2232],
'IRN': [53.688046,32.4279],
'ISR': [34.851612,31.0461],
'IND': [78.96288,20.5937],
'IDN': [113.921327,-0.7893],
'JOR': [36.238414,30.5852],
'VNM': [108.277199,14.0583],
'TWN': [120.960515,23.6978],
'DZA': [1.659626,28.0339],
'EGY': [30.802498,26.8206],
'ETH': [40.489673,9.145],
'AGO': [17.873887,-11.203],
'BEN': [2.315834,9.30769],
'BWA': [24.684866,-22.328],
'BFA': [-1.561593,12.2383],
'BDI': [29.918886,-3.3731],
'GNQ': [10.267895,1.6508],
'TGO': [0.824782,8.61954],
'ERI': [39.782334,15.1794],
'CPV': [-24.013197,16.0021],
'GMB': [-15.310139,13.4432],
'COG': [15.827659,-0.228],
'COD': [21.758664,-4.0383],
'DJI': [42.590275,11.8251],
'GIN': [-9.696645,9.94559],
'GNB': [-15.180413,11.8037],
'GHA': [-1.023194,7.94653],
'GAB': [11.609444,-0.8037],
'ZWE': [29.154857,-19.015],
'CMR': [12.354722,7.36972],
'COM': [43.872219,-11.875],
'CIV': [-5.54708,7.53999],
'KEN': [37.906193,-0.0236],
'LSO': [28.233608,-29.61],
'LBR': [-9.429499,6.42806],
'LBY': [17.228331,26.3351],
'RWA': [29.873888,-1.9403],
'MDG': [46.869107,-18.767],
'MWI': [34.301525,-13.254],
'MLI': [-3.996166,17.5707],
'MUS': [57.552152,-20.348],
'MRT': [-10.940835,21.0079],
'MAR': [-7.09262,31.7917],
'MOZ': [35.529562,-18.666],
'NAM': [18.49041,-22.958],
'ZAF': [22.937506,-30.559],
'NER': [8.081666,17.6078],
'NGA': [8.675277,9.082],
'SLE': [-11.779889,8.46056],
'SEN': [-14.452362,14.4974],
'SYC': [55.491977,-4.6796],
'STP': [6.613081,0.18636],
'SDN': [30.217636,12.8628],
'TZA': [34.888822,-6.369],
'TUN': [9.537499,33.8869],
'UGA': [32.290275,1.37333],
'ZMB': [27.849332,-13.134],
'TCD': [18.732207,15.4542],
'CAF': [20.939444,6.61111],
'AZE': [47.576927,40.1431],
'IRL': [-8.24389,53.4129],
'EST': [25.013607,58.5953],
'AUT': [14.550072,47.5162],
'BLR': [27.953389,53.7098],
'BGR': [25.48583,42.7339],
'MKD': [21.745275,41.6086],
'BEL': [4.469936,50.5039],
'ISL': [-19.020835,64.9631],
'BIH': [17.679076,43.9159],
'POL': [19.145136,51.9194],
'DNK': [9.501785,56.2639],
'DEU': [10.451526,51.1657],
'RUS': [105.318756,61.524],
'FRA': [2.213749,46.2276],
'FIN': [25.748151,61.9241],
'GEO': [43.356892,42.3154],
'MNE': [19.37439,42.7087],
'NLD': [5.291266,52.1326],
'CZE': [15.472962,49.8175],
'HRV': [15.2,45.1],
'LVA': [24.603189,56.8796],
'LTU': [23.881275,55.1694],
'LIE': [9.555373,47.166],
'LUX': [6.129583,49.8153],
'ROU': [24.96676,45.9432],
'MLT': [14.375416,35.9375],
'NOR': [8.468946,60.472],
'PRT': [-8.224454,39.3999],
'SWE': [18.643501,60.1282],
'CHE': [8.227512,46.8182],
'SRB': [21.005859,44.0165],
'SVK': [19.699024,48.669],
'SVN': [14.995463,46.1512],
'UKR': [31.16558,48.3794],
'ESP': [-3.74922,40.4637],
'GRC': [21.824312,39.0742],
'HUN': [19.503304,47.1625],
'ARM': [45.038189,40.0691],
'ITA': [12.56738,41.8719],
'GBR': [-3.435973,55.3781],
'ARG': [-63.616672,-38.416],
'ATG': [-61.796428,17.0608],
'BRB': [-59.543198,13.1939],
'PRY': [-58.443832,-23.443],
'PAN': [-80.782127,8.53798],
'BRA': [-51.92528,-14.235],
'BOL': [-63.588653,-16.29],
'BLZ': [-88.49765,17.1899],
'DOM': [-70.162651,18.7357],
'DMA': [-61.370976,15.415],
'ECU': [-78.183406,-1.8312],
'COL': [-74.297333,4.57087],
'CRI': [-83.753428,9.74892],
'GRD': [-61.604171,12.2628],
'CUB': [-77.781167,21.5218],
'GUY': [-58.93018,4.86042],
'HND': [-86.241905,15.2],
'PER': [-75.015152,-9.19],
'MEX': [-102.552784,23.6345],
'NIC': [-85.207229,12.8654],
'LCA': [-60.978893,13.9094],
'VCT': [-61.287228,12.9843],
'SUR': [-56.027783,3.91931],
'TTO': [-61.222503,10.6918],
'GTM': [-90.230759,15.7835],
'VEN': [-66.58973,6.42375],
'URY': [-55.765835,-32.523],
'JAM': [-77.297508,18.1096],
'CHL': [-71.542969,-35.675],
'CAN': [-106.346771,56.1304],
'USA': [-95.712891,37.0902],
'AUS': [133.775136,-25.274],
'PNG': [143.95555,-6.315],
'FJI': [179.414413,-16.578],
'COK': [-159.777671,-21.237],
'PLW': [134.58252,7.51498],
'WSM': [-172.104629,-13.759],
'TON': [-175.198242,-21.179],
'VUT': [166.959158,-15.377],
'NZL': [174.885971,-40.901]
};

var schema = [
    'countries',
    'OFDI flow',
    'actual distance',
    'inflation rate',
    'sum of world goverance index',
    'cultral distance',
    'world goverance index distance',
    'economic freedom',
    'economic freedom distance',
    'gdp per capita',
    'fuel',
    'hightech',
    'fdi',
];

var rawData = [
['AFG',-0.16,271477.64372,0.626149149168811,-8.50177431106567,0,-6.66177431106567,51.3,-6.5,568.342871125336,10.4693290077463,0,7.5895664214 ],
['AGO',270.34,764311.9794,20.1903737898383,-4.56349766254425,0.0157104798836579,-2.72349766254425,48.6,-9.2,3233.90701762549,92.1389792031581,5.3229901989167,21.4504553216 ],
['ARE',1081.01,387459.76938,3.06863379251994,0,0.0238149378620691,0,77.6,19.8,41327.3827625282,74.7754864619118,10.7859764088513,61.8139008317 ],
['ARG',141.13,1253177.7018,34.2772237131008,-0.520625304430723,0.00305474442818131,1.31937469556928,52.3,-5.5,10043.5085520823,4.28610304651068,5.33428840592799,13.9973884383 ],
['ARM',19.64,386207.921,2.52023382001631,-0.673002758994698,0,1.1669972410053,68.7,10.9,4406.70643383294,4.05922130835866,7.05473101057524,44.3368028377 ],
['ATG',0.36,888488.9486,1.20715793367003,1.8016420439817,0,3.6416420439817,0,0,15134.8841569088,0,0.613480479971509,60.1806579205 ],
['AUS',1985.97,585648.85658,1.91140094445692,8.02383238077163,0.00604924215866415,9.86383238077164,80.9,23.1,56864.3323797642,24.4488906989143,16.7083177315111,48.2707451053 ],
['AUT',138.14,484972.69928,1.99838187702266,7.38767892122268,0.00936704321140208,9.22767892122269,71.8,14,50056.7378897051,2.04778585948082,11.6385258167832,44.3246115932 ],
['AZE',-1.05,358482.69716,2.26351685730081,-2.60674539208412,0,-0.766745392084122,64.3,6.5,5800.71518438101,92.2224542803543,4.01395986901186,65.6416113411 ],
['BDI',4.06,650154.6028,-2.8146980766847,-6.94775980710983,0,-5.10775980710983,50.9,-6.9,210.804225834169,0.0328275989133783,17.0427644195371,6.9001721669 ],
['BEL',5.63,517625.0508,2.05316499865181,5.69614461064338,0.0387332081116356,7.53614461064339,67.5,9.7,47116.3514784291,9.03563046289403,10.3676950346954,102.378155703 ],
['BEN',4.8,747908.1354,0.848806254600014,-2.09606702625751,0,-0.256067026257515,56.7,-1.09999999999999,1211.31656294328,0.00439783750696056,2.84181497401108,21.5555945582 ],
['BFA',0,740599.7878,1.95594302672532,-2.5635383054614,0.024496698559949,-0.723538305461407,60,2.2,800.56336556216,2.40939339460314,5.95400728462534,15.4454870986 ],
['BGD',543.65,197173.29572,5.5436213948647,-4.15240973234176,0.00793466396062694,-2.31240973234177,55.1,-2.7,1203.21626488899,0,0,6.3278496034 ],
['BGR',-1.68,478247.18818,2.81186840582685,1.08699411153793,0.00107824782279776,2.92699411153793,68.3,10.5,8670.5956933801,8.13638271469946,10.2673876839301,76.107333759 ],
['BHR',-2.35,401645.4578,2.08481249596594,0.050924614071846,0,1.89092461407185,67.7,9.90000000000001,21478.1144253022,53.4043496460549,0.448776632889965,76.923132492 ],
['BIH',0,494563.49306,1.41710814018026,-2.02231574058532,0,-0.182315740585327,61.4,3.6,6037.1000188204,9.51379756500199,5.23518126445459,42.3224286982 ],
['BLR',67.73,420850.22894,4.87230220550687,-1.63279761373996,0,0.207202386260033,58.1,0.300000000000004,6586.2977396088,24.3996411261304,3.98464069824943,21.8406098105 ],
['BLZ',0,854429.8668,0,-2.19968796707689,0,-0.359687967076898,57.1,-0.699999999999996,4217.50694486609,6.52701299526237,0.0666239154354436,119.5187964101 ],
['BOL',37.55,1150053.6312,2.27205987230148,-3.23498320579528,0,-1.39498320579529,44.1,-13.7,2559.51126345152,40.2534849859544,4.85739569087634,29.3365814761 ],
['BRA',427.72,1100605.7176,3.66485028376724,-1.81506893038749,0.00747927298228642,0.0249310696125031,51.4,-6.4,11079.709675038,12.4970135926179,12.9506134545756,30.4365542137 ],
['BRB',2.56,916887.2106,3.67381410406798,3.69487404823303,0,5.53487404823303,57,-0.799999999999997,16136.9099326335,4.65572128144895,0,149.9494181711 ],
['BRN',-15.09,253032.216,1.02505179290213,4.56360018253326,0,6.40360018253326,64.2,6.40000000000001,31436.8681969939,95.5641401866825,0.0423490134324492,49.3966598462 ],
['BWA',-4.86,765836.1212,3.2380155894771,2.98449769616127,0,4.82449769616127,69.9,12.1,8032.67917835124,0.18468172092705,0.670893532290769,27.7885485658 ],
['CAF',46.32,673272.5934,0,0,0,0,49.2,-8.59999999999999,379.36500856344,0,0,29.3387861023 ],
['CAN',1563.5,679202.2648,2.268225672481,8.01689952611923,0.00197853750485033,9.85689952611923,77.7,19.9,51476.2007788602,24.7359576265076,15.7519311450922,49.7614421545 ],
['CHE',-3212.06,524992.10416,0.936313303085696,9.10582280158996,0.0192667494680181,10.94582280159,81.7,23.9,79234.9629398677,1.20049838307398,13.3748991476442,41.856381028 ],
['CHL',168.06,1239047.4072,2.43488981353058,4.98038208484649,0.00799457988703008,6.8203820848465,75.2,17.4,15111.6954231416,0.897962490449269,6.38315047149194,89.885349938 ],
['CIV',163.68,787194.8872,0.359409031380664,-2.77111732959747,0,-0.931117329597473,62,4.2,1666.43225652443,17.086062301499,6.8063722027765,23.1247940746 ],
['CMR',141.79,714486.7644,1.0742994515814,-5.2044186592102,0,-3.36441865921021,51.9,-5.9,1502.16791876103,0,0,19.7759795058 ],
['COG',-292.64,732167.9782,1.15277896375521,0,0,0,38.9,-18.9,2705.16480208563,82.2437149215969,0,180.4842513043 ],
['COL',-81.01,970039.9512,3.24023413752975,-1.28012853860855,0.00436389160937969,0.559871461391449,68.9,11.1,7696.34441327262,59.9594750605745,7.26570475602909,57.322111815 ],
['COM',0.93,614108.357,0,-4.85715413093566,0,-3.01715413093567,56.2,-1.59999999999999,1402.74035543881,4.11130283486664E-05,0.171855653239396,10.397147055 ],
['CPV',0,821825.441,1.25615185860788,2.03899611532688,0.0286916358214138,3.87899611532688,60,2.2,3740.00407711457,0,9.64098963151736E-05,100.8884226942 ],
['CRI',15.21,915068.2412,2.22121531302887,2.3744877576828,0.031360880425261,4.2144877576828,65.6,7.8,9936.58452751182,0.0413456577556288,18.4680051773733,65.7534498379 ],
['CUB',33.23,828010.3266,0,-1.32740275561809,0,0.512597244381905,31.9,-25.9,6816.89680904415,0,0,0 ],
['CYP',113.9,459543.23432,1.43549119531762,3.87497413158416,0,5.71497413158417,67.8,10,31506.9235229004,41.553942234658,19.858536917083,0 ],
['CZE',113.02,484597.99548,2.14949494949492,0,0.0120413567672285,0,74.2,16.4,23324.2328169396,1.9281042756583,19.6299107832146,1716.2677811148 ],
['DEU',1467.99,478174.6502,1.73216766075662,7.55080533027648,0.0149731478674625,9.39080533027649,74.2,16.4,47490.5171174224,2.06293293007391,15.7779623925176,16.5707025966 ],
['DJI',-81.06,504571.00682,0.147970849877116,-3.37837699055671,0,-1.53837699055672,45.1,-12.7,0,0,0,0 ],
['DMA',0,901634.1034,0.989191119189815,2.06383933126926,0,3.90383933126926,64.5,6.7,6694.35014163448,0,0,30.1777700507 ],
['DNK',30.48,468110.63864,0.813609467455633,8.48892217874526,0.0345232546772086,10.3289221787453,76.6,18.8,63915.4683608434,4.63022634822303,13.8896104623412,66.9686822921 ],
['DOM',0,876700.3904,3.56443426013508,0,0.0112027053909739,0,61.6,3.8,7697.72192256592,0,0,0 ],
['DZA',178.65,592101.87944,4.26999020467078,-3.91323518753051,0,-2.07323518753052,44.7,-13.1,4764.45509960918,0,0,17.5958281044 ],
['ECU',32.68,997764.7854,-0.224103246005465,-2.41830234229564,0.0104226597090057,-0.578302342295647,48.5,-9.3,5180.59899766356,41.0948584504833,5.27536546107617,52.2122346898 ],
['EGY',221.97,490389.08492,14.4014657807421,0,0.0246762882664176,0,53.4,-4.4,2907.31758471118,25.9201811516769,0.865970070184316,48.1010337462 ],
['ERI',6.14,511603.814,0,-7.46656244993209,0,-5.6265624499321,41.7,-16.1,0,0,0,37.0940800081 ],
['ESP',537.68,599545.49706,1.67506761489627,3.78467255830764,0.00433619272525674,5.62467255830765,65.1,7.3,32897.4761945886,6.12904684137793,7.37340989288418,51.3864304597 ],
['EST',53.22,413803.58954,3.43632688420445,6.10155767202377,0.0122257907801132,7.94155767202377,78.8,21,19949.5794456421,10.8003827965381,16.8379920362229,105.9093121642 ],
['ETH',341.25,540040.26072,13.8307621811517,-3.83881673216819,0.00697813466340233,-1.9988167321682,52.8,-5,570.651825161013,5.07117409804352E-05,0,80.7700600461 ],
['FIN',141.04,410867.2625,1.08382098409299,8.95438230037689,0.0175737052479864,10.7943823003769,74.1,16.3,48805.7384780507,8.34273159164717,8.92900781504402,27.9069028361 ],
['FJI',16.23,591213.88988,4.08147637644538,1.03489226102828,0.00914988075685784,2.87489226102829,62,4.2,4795.1945179883,0.0395569050873821,2.8596757335331,17.2523794635 ],
['FRA',-75.02,534146.56608,1.85081508315494,5.51970319449901,0.0218058116583338,7.35970319449902,63.9,6.1,43720.026350895,3.24320190688442,25.9200185570843,0 ],
['GAB',-69.54,742424.6018,4.74906652083221,-3.50133256614208,0,-1.66133256614208,58,0.200000000000003,9051.28130144379,0,0,88.3035982044 ],
['GBR',1026.64,529348.86382,2.29283990345939,0,0.0105543314845766,0,78,20.2,43324.0497590589,9.94166111744485,22.6431374099032,190.2607393778 ],
['GEO',80.23,380088.42998,2.61524471397664,2.34685480594635,0,4.18685480594635,76.2,18.4,4734.37739920366,2.13356885305568,3.33564206512989,29.4525663749 ],
['GHA',124.25,768346.0522,7.80876516610708,-0.303428970277309,0.0129830801954146,1.53657102972269,56,-1.8,1808.32722017919,47.5464948843291,8.25993206728564,62.8890486205 ],
['GIN',203.17,821605.9438,9.82600180777342,-4.87881416082382,0,-3.03881416082382,52.2,-5.59999999999999,897.265950227405,0,0,0 ],
['GMB',1443,803031.805,6.52096823946572,0,0,0,52.3,-5.5,786.373247321282,0.00183694101582398,0.15385920427552,25.8245983154 ],
['GNB',2.57,807945.8148,0,-6.12403631210327,0,-4.28403631210327,56.9,-0.899999999999999,622.079825417697,0,0,55.1249214164 ],
['GNQ',3.8,729609.3422,1.34988438751676,-5.87790249288082,0,-4.03790249288082,42,-15.8,10134.6283006732,0,0,47.1381341952 ],
['GRC',60.3,495065.99878,0.625629147213626,0.812795653939247,0.0131502558185741,2.65279565393925,57.3,-0.5,23546.6395364556,34.3557622220525,12.8088451275185,25.1457313035 ],
['GRD',0.57,925072.8976,0.804102313277037,1.13854530453681,0,2.97854530453682,0,0,9091.76153084554,0,0,103.7410195585 ],
['GTM',0,867046.41,3.75186186704512,-3.2925574183464,0.0176227254869909,-1.4525574183464,63.4,5.6,3338.54746449244,0,0,23.6595411459 ],
['GUY',28.59,961662.6912,1.28284288443518,-1.52341593801975,0,0.316584061980248,58.7,0.900000000000006,3992.22625949241,0.00317924988941771,0.0716331360727902,0 ],
['HND',49.06,879496.0574,4.34734937777536,-3.27998447418212,0.00815728501612924,-1.43998447418213,60.6,2.8,2219.43646867526,0,0,96.2347193576 ],
['HRV',22.39,496710.66922,1.50012501041753,2.12956780195236,0.000973410948061101,3.96956780195236,61,3.2,15905.5709660448,10.3986119299655,8.89440850886312,45.719228192 ],
['HUN',94.95,477138.59744,2.85024792594642,2.45353040844202,0.0303087444415991,4.29353040844202,66.7,8.90000000000001,16636.2025918736,2.7636801172325,16.9380145919362,20.8570362054 ],
['IND',206.2,245798.74422,4.86069946650859,-1.01720378547906,0.00311454909602335,0.822796214520931,54.5,-3.3,2086.45075048673,14.9266322697492,9.00794862053066,13.8322661122 ],
['IRL',75.16,538408.64322,0.488370168032449,7.05788493156433,0.00722256860993648,8.89788493156433,80.4,22.6,76662.6743445574,0.85401538727411,24.6838310190705,60.6694469687 ],
['IRQ',7.73,409020.95336,0.36744148893681,-8.25406444072723,0.0100781433720251,-6.41406444072723,0,0,5477.64822423846,0,0,66.6707673319 ],
['ISL',0.73,512372.96336,2.68291768267388,7.85922729969024,0.03092603290716,9.69922729969025,77,19.2,51592.6546059859,2.01401634356941,23.4728774209991,40.3204473144 ],
['ISR',410.57,464125.01108,0.814852150537637,3.30351638793945,0.0240401010881935,5.14351638793945,72.2,14.4,34749.6781958625,2.26378052127282,22.8308103914123,34.3543459637 ],
['ITA',297.61,528267.0933,1.13748763600395,1.87895238399505,0.019806975930397,3.71895238399506,62.5,4.7,35433.7930722111,3.4497710694971,7.50507069249519,13.8943151198 ],
['JAM',156.21,873224.8016,3.74015836640364,0.861736103892326,0.0182329826450978,2.70173610389233,69.1,11.3,4855.26207081811,0,0,21.6585734296 ],
['JOR',85.62,458605.50072,4.46231108475485,0.200066551566124,0.0141042947338442,2.04006655156612,64.9,7.10000000000001,3266.74698529318,1.71673257095917,2.88749162774446,11.8076432998 ],
['JPN',468.41,136251.32834,0.979903670486641,7.02360260486602,0.0410372180528659,8.86360260486603,72.3,14.5,48766.1336628674,1.67481811656911,17.2676893022875,0 ],
['KAZ',118.35,237398.43052,6.01913096570714,-0.770561487501254,0,1.06943851249875,69.1,11.3,11165.5446635217,70.0244131174859,22.0158808425744,0.0000000047 ],
['KEN',232.04,598995.58514,4.68981976129859,-3.06463401019573,0.00322542580177326,-1.22463401019573,54.7,-3.09999999999999,1201.46635823697,0.896666961526057,3.62078591435642,261.4330862224 ],
['KGZ',100.16,225458.82188,1.54266145238431,0,0,0,62.8,5,1090.86775396793,11.9680606559112,8.05168610654069,83.1476846935 ],
['KHM',778.34,217619.71966,2.45796490023179,-3.40553577244281,0,-1.56553577244282,58.7,0.900000000000006,1202.62486005372,0.000713551728342228,1.4042600942966,123.5968116761 ],
['KOR',1033.66,62059.982434,1.47586240396369,0,0.00369277635265819,0,73.8,16,28091.388371118,7.76575971737016,36.3468653816326,105.5665554416 ],
['KWT',192.08,404286.82736,0.543133148199589,-0.0918266735970974,0.0165133159651542,1.7481733264029,62.2,4.40000000000001,33112.1907319075,90.9020867090062,4.12190830285524,4.1192265619 ],
['LAO',1241.79,180445.66088,2.03987405484665,0,0,0,53.6,-4.2,1785.57679801882,24.9189719537672,37.1322921956297,83.1107057465 ],
['LBN',0,453513.10074,6.07698907889605,-4.50010573863983,0.0102853572279596,-2.66010573863983,53.2,-4.59999999999999,6214.3580495495,0.900340516981906,2.35379020849117,6.1092578786 ],
['LBR',14.35,816454.2536,23.5635148953742,-4.34457114338874,0,-2.50457114338875,50.9,-6.9,541.271324140142,0,0,13.78897564 ],
['LBY',28.23,567803.47446,0,0,0.00346554056875144,0,0,0,8038.57541150542,0,0,10.304332261 ],
['LCA',0,910793.241,1.93846244376073,0,0,0,67.6,9.8,9237.36851343066,0,0,19.7837216978 ],
['LKA',7.83,335836.62554,2.13503773713198,-0.880037887021899,0.0353705659057785,0.959962112978101,57.8,0,3946.1937438923,0,0,29.5985107542 ],
['LSO',0,777517.5284,4.75180301624748,-2.01570512354373,0,-0.175705123543739,53.9,-3.9,1374.64587011887,0,0,4.8418482882 ],
['LTU',-4.47,426483.57912,2.69792779208397,4.39373406767845,0.0149991091129801,6.23373406767845,75.3,17.5,17637.253093258,14.6094149736753,12.1109647821873,65.496683319 ],
['LUX',2487.33,517209.17504,1.52819524307373,8.80747151374816,0.00740861267683789,10.6474715137482,76.4,18.6,110701.877200861,0.11121560466734,6.97068462353907,52.2130885552 ],
['LVA',10.68,423640.70074,2.53445424186602,3.94045332074165,0.0211973013650697,5.78045332074165,73.6,15.8,16216.6988565158,5.27201228807749,20.2847739629069,16.3922322371 ],
['MAR',90.78,646224.7587,1.91295940503111,-1.13900969922542,0.00948841689058851,0.700990300774574,61.9,4.1,3361.22378892073,1.17246684342076,3.99917519756944,37.2206721316 ],
['MDG',55.6,628380.5455,8.59422958870474,-4.22030740976333,0,-2.38030740976334,56.8,-1,490.097332875823,2.4450005843027,0.304884919931635,50.5615474909 ],
['MDV',-1.55,380701.59346,-0.133373386117597,-2.31901064515113,0,-0.479010645151138,51.1,-6.7,8033.32562707311,0.0144801040854888,0,411.2063644902 ],
['MEX',378.45,809618.0198,4.89935015356549,-2.11140730977058,0.0263508751786932,-0.271407309770584,64.8,7,10403.540397147,6.66092279338189,21.0802972008751,43.1079085432 ],
['MKD',1.83,489069.11448,1.45831298507127,0,0,0,71.3,13.5,5442.49015010387,1.69829722288296,4.04849350923518,0 ],
['MLI',-84.04,768993.504,0.299546507387888,-5.09866726398468,0,-3.25866726398468,57.6,-0.199999999999996,778.358148470566,0,0,53.704567987 ],
['MLT',1011,546651.15272,1.15782362451512,5.23364180326461,0.0189493302234513,7.07364180326462,68.5,10.7,28758.4515198583,29.132030005236,32.2137314726749,36.481821668 ],
['MMR',-197.24,210021.09026,6.87232865662918,-4.75170958042144,0,-2.91170958042145,53.9,-3.9,1573.14770255708,21.5786000390659,4.34087806556679,63.373251129 ],
['MNG',-457.13,76112.73218,6.81243594195042,-0.168682450428605,0,1.6713175495714,55.7,-2.09999999999999,4210.85821365292,46.7493326177892,4.96360391969451,1416.2979313349 ],
['MOZ',545.63,736881.3234,3.91133439990733,-4.20936143398284,0.0150953323324032,-2.36936143398285,46.3,-11.5,591.439276354777,47.0209630014706,5.64323843985206,41.7913196268 ],
['MRT',23.23,773019.1346,3.04891482875157,-3.69846016168594,0,-1.85846016168594,54,-3.8,1703.86101491802,0,0,54.1889566245 ],
['MUS',178.21,588017.86778,3.2160538314458,3.82541164755821,0,5.66541164755821,75.1,17.3,10577.2002817523,1.10686183082339,2.59805103518578,18.6259056844 ],
['MWI',1.46,675039.6108,12.420178108921,-2.84821480512619,0.00877298292626582,-1.00821480512619,52,-5.8,515.106449644084,0,0,116.9327663975 ],
['MYS',1662.7,282816.75218,0.884709160571244,2.93252617120742,0.000105213329788193,4.77252617120743,74.5,16.7,12120.0832646048,15.3211634190955,52.7718038648979,23.3403219611 ],
['NAM',-24.82,803499.373,4.29159105337873,1.2926614396274,0.0305893314165932,3.13266143962741,58.5,0.700000000000003,5942.37726717733,0.624578037658089,0.219520360685733,36.4415781403 ],
['NER',115.44,715909.5998,2.96760366004454,0,0,0,49.5,-8.3,548.037593011792,0,0,43.1094758445 ],
['NGA',194.7,711773.5712,12.0947315505318,-6.02363389730453,0.00464210561303067,-4.18363389730454,58.5,0.700000000000003,2395.96980032978,94.0104773592881,1.85399755323841,47.1422723583 ],
['NIC',0.13,895234.9158,4.94723728039882,-4.39327734708786,0,-2.55327734708786,58.9,1.1,1857.05612479125,0.26663726157033,0.676388243873207,276.638267135 ],
['NLD',1038.34,508554.29654,1.70349794744475,0,0.00562620725229075,0,76.2,18.4,55020.9799663429,9.70817840158821,22.1212397313444,96.1931333331 ],
['NOR',-41.68,456593.52964,2.76483134528794,8.85490107536315,0.0297832885169907,10.6949010753632,74.3,16.5,92119.522964297,62.3320926473032,21.2295211115267,6.9041381685 ],
['NPL',51.22,205270.4695,4.0611633875107,-3.42484077811241,0.0170991329050497,-1.58484077811241,54.1,-3.7,817.779994437794,0,0,155.4472009281 ],
['NZL',257.46,717004.4882,1.59829703801698,9.24154603481292,0.000542718973470753,11.0815460348129,84.2,26.4,38763.5853004823,1.83887101241085,9.73074683993017,0 ],
['OMN',51.91,367433.05266,0.881302104009536,1.8621255159378,0,3.70212551593781,61,3.2,15367.4670319603,75.2214078633992,1.26008597960067,184.3481585191 ],
['PAK',-198.73,252154.03238,5.07805725868917,-5.00947630405426,0.023531514734727,-3.16947630405426,54.4,-3.4,1197.91265061769,2.13434567457255,2.19850387143076,0 ],
['PAN',127.24,932055.2464,0.761578359399943,0.0330674331635237,0.0226274267762288,1.87306743316352,67,9.2,11755.1149696561,0,0,36.1476576861 ],
['PER',84.81,1082308.8726,1.31764765937395,-1.04370775818824,0.0111816798149665,0.796292241811752,68.7,10.9,6453.56052508568,10.4452744923395,4.56125131187101,22.5968860771 ],
['PHL',58.82,185099.71586,5.21160460595185,0,0.000648626888681573,0,65,7.2,3190.77834844679,1.57619669552464,61.1102203813052,48.1165712329 ],
['PLW',0.29,262896.53706,0,0.591616610065102,0,2.4316166100651,0,0,12260.2233356517,0,51.6838821436937,143.9779710758 ],
['PNG',-79.04,411977.67156,4.72084992574417,-3.52956277132034,0,-1.68956277132034,55.7,-2.09999999999999,2418.54105144261,0,0,84.3422681487 ],
['POL',11.78,451196.56106,1.81295156542681,3.15890410542488,0.0174901341520551,4.99890410542488,68.5,10.7,16692.8483342493,2.49669656869927,10.6031034736523,0 ],
['PRK',0.28,52571.410708,0,0,0,0,5.8,-52,0,0,0,20.541802576 ],
['PRT',11.71,628335.4122,0.99371568346825,5.22971320152282,0.0116888229589513,7.06971320152283,63.4,5.6,24035.7502679595,6.63096637004909,5.26718255164872,33.4104631596 ],
['PRY',0.84,1189139.069,3.97561015740689,-2.14930666983127,0,-0.309306669831276,62.1,4.3,5379.58163547209,23.3303401644044,9.693061585718,51.0049975293 ],
['QAT',-368.1,400348.02154,0.255815382724374,3.28434813022613,0,5.12434813022614,72.6,14.8,63260.5584959583,93.8791730268508,0.00129939773293922,30.6230394186 ],
['RUS',725.24,376330.2223,2.87829723647886,0,0.0174892570299599,0,58.2,0.400000000000006,11844.4386003203,52.0171683304248,10.9630081335298,155.6894292547 ],
['RWA',45.42,639346.11908,-0.309533635988446,1.10328666865825,0,2.94328666865826,69.1,11.3,848.800489435292,0.136855913506297,0,84.0435514287 ],
['SAU',383.07,428940.7139,2.45814158007533,0.260917384177446,0.0153503989679844,2.10091738417745,59.6,1.8,20819.7445746725,4.91968711958369E-05,0.612695291680654,39.0159392249 ],
['SDN',57.12,545628.93218,63.2925073455883,0,0,0,49.4,-8.4,1812.12145447981,19.2220311922418,0,76.1365385902 ],
['SEN',83.93,799598.4272,0.46098564246427,-0.696898251771926,0.0267599790881487,1.14310174822807,55.7,-2.09999999999999,1547.09470286576,18.9023056188969,2.80932029402263,64.0740129659 ],
['SGP',6411.26,291233.62558,0.438620118446782,9.89279341697692,0.0171314299588995,11.7327934169769,88.8,31,59073.4875764707,13.4625780316189,51.7237512889669,24.0137560041 ],
['SLE',3.94,816347.752,16.0327898535814,-3.34054463915526,0.0139826530578474,-1.50054463915527,51.8,-6,472.825438057198,0,0,24.5765655936 ],
['STP',0,757927.728,7.85706431333533,0,0,0,53.6,-4.2,1297.35867715095,0.003813919764725,45.9672696747867,25.0813303138 ],
['SUR',-1.73,965457.7848,0,-1.48501513153314,0.0293675788142099,0.354984868466854,48.1,-9.7,8103.65042439821,0.0601762010871978,7.93927638882937,0 ],
['SVK',14.62,482009.81178,2.51403712883808,0,0.0411326039595225,0,65.3,7.5,20574.0254402876,2.90626346374946,10.6288874073402,0 ],
['SVN',13.28,501508.17666,1.73860861988181,4.66026747226715,0.00755135311413791,6.50026747226715,64.8,7,26684.2111675122,5.23267489014245,6.81222043940174,166.4719590213 ],
['SWE',1063.95,435993.32778,1.95353530127029,8.58024424314498,0.025844659634825,10.420244243145,76.3,18.5,57911.2289848069,7.42049328202854,14.3584246535616,189.8516617095 ],
['SYC',227.98,515966.87284,3.70291839111562,1.95311138033866,0,3.79311138033867,61.6,3.8,14417.055463566,0.00442239401205413,5.32860402387624,38.775453859 ],
['SYR',-0.01,450711.45926,0,0,0.00984347972370858,0,0,0,0,0,0,425.3733436336 ],
['TCD',67.77,656131.031,4.27462198610544,-6.8358244895935,0,-4.99582448959351,49.3,-8.5,812.01581795014,0,0,52.0617740681 ],
['TGO',-6.59,756996.4884,0.927755426457187,-4.0085100531578,0,-2.16851005315781,47.8,-10,676.852195546436,16.8090947332521,0,180.9690485731 ],
['THA',737.29,214554.68154,1.06389754183022,-0.647014016285538,0.0201422220373878,1.19298598371446,67.1,9.3,6370.01497597885,3.94781269214946,23.3400971600725,32.1076060214 ],
['TJK',388.24,263196.49492,0,-5.56831687688827,0,-3.72831687688828,58.3,0.5,1073.02183482136,0,0,0 ],
['TKM',-38.3,320802.75578,0,-5.85982080781832,0,-4.01982080781832,47.1,-10.7,7647.93580378613,0,0,16.932283155 ],
['TON',0.05,637006.46076,0,0.984020859003067,0,2.82402085900307,63.1,5.3,4054.94072244493,0,0,37.6429814577 ],
['TTO',15.17,935376.278,1.01856930188828,-0.0201222561299801,0.0151888577374997,1.81987774387002,57.7,-0.0999999999999943,15161.0684555798,0,0,0 ],
['TUN',5.96,561509.48966,7.3075917603165,-1.43226991221308,0,0.407730087786913,58.9,1.1,4408.36602348828,5.69008285066916,0,51.8058949375 ],
['TUR',352.82,444305.5179,16.3324638988929,-2.02484537987038,0.00493114661998707,-0.184845379870385,65.4,7.60000000000001,15068.9823831676,2.43038593591265,2.32943144748138,14.1387129478 ],
['TZA',177.47,627980.64498,3.49445848856181,0,0.0196597254306341,0,59.9,2.1,959.354688726875,0.895184390862129,6.88940438462713,53.898889685 ],
['UGA',225.8,614882.63662,2.62397505207709,-2.88074758648872,0,-1.04074758648872,62,4.2,930.99878677016,6.67798569400211,3.5362730247636,43.3612008261 ],
['UKR',27.45,419564.28706,10.9518559353179,-4.05296485126018,0.000680143523507284,-2.21296485126019,51.9,-5.9,3106.03903618704,1.45805260448525,5.40608447008748,59.0572788783 ],
['URY',35.73,1245262.8146,7.60653360377044,3.96863961219787,0.00064747804536275,5.80863961219788,69.2,11.4,14617.4640000784,1.20206703485879,7.19716770153,38.0217626371 ],
['USA',7477.17,724681.695,2.44258329692818,0,0.00727631564041469,0,75.7,17.9,54659.1982683462,13.7085850126184,18.8956353928956,64.6065041512 ],
['UZB',99.01,256098.74774,0,-4.07571756839752,0,-2.23571756839752,51.5,-6.3,2373.53751794767,34.3105671725244,0.467331445728084,24.7698795331 ],
['VCT',1.22,916763.1752,2.32414485367923,0,0,0,67.7,9.90000000000001,6852.59995580626,0.000154176562125279,0.00325805109075527,16.7101587848 ],
['VEN',328.07,935298.35,0,0,0.0183198521985894,0,25.2,-32.6,0,0,0,13.9165052305 ],
['VNM',1150.83,151362.08706,3.53962805942641,0,0.0224676696892862,0,53.1,-4.7,1964.4759908863,1.59926996924169,40.1599875094876,29.3015302414 ],
['VUT',17.21,543532.60404,2.3309637956687,0.0451796650886536,0,1.88517966508865,69.5,11.7,2862.02119108733,0,0,44.8128574901 ],
['WSM',12.36,536944.63586,4.19745888663745,3.12923700362443,0,4.96923700362444,61.5,3.7,3748.84407507796,25.7218315186522,3.09448346380432,47.8938172931 ],
['YEM',10.45,481687.12492,0,0,0,0,0,0,632.909430329521,0,0,89.755138094 ],
['ZAF',642.06,758147.8746,4.50457749331605,0.111552821472287,0.00428241852545387,1.95155282147229,63,5.2,7433.61539826952,11.5653975076452,5.6166641605073,10.8202376657 ],
['ZMB',523.73,711793.7026,7.49457192728511,-1.86090132594108,0.020113728207945,-0.0209013259410857,54.3,-3.5,1678.16912404773,1.04699298793697,1.99884040874596,36.0424057292 ],
['ZWE',33.8,866182.5776,3.03447888394065,-7.87872445583343,0,-4.42872445583343,21.4,-29.6,948.33185445926,2.00004730732767,1.95086536336474,71.1986007984 ],
['ZWE',53.83,707723.9128,0,-5.99905544519424,0,-4.15905544519424,44,-13.8,1305.78329453795,1.39929123533462,2.05087029944194,67.1285264971 ]
];



function makeMapData(rawData) {
    var mapData = [];
    for (var i = 0; i < rawData.length; i++) {
        var geoCoord = geoCoordMap[rawData[i][0]];
        if (geoCoord) {
            mapData.push({
                name: rawData[i][0],
                value: geoCoord.concat(rawData[i].slice(1))
            });
        }
    }
    return mapData;
};

function makeParallelAxis(schema) {
    var parallelAxis = [];
    for (var i = 1; i < schema.length; i++) {
        parallelAxis.push({dim: i, name: schema[i]});
    }
    return parallelAxis;
}


option = {
    backgroundColor: new echarts.graphic.RadialGradient(0.5, 0.5, 0.4, [{
        offset: 0,
        color: '#4b5769'
    }, {
        offset: 1,
        color: '#404a59'
    }]), 
    title: {
        text: 'FDI and FACTORS 2018',
        subtext: 'data from wordbank',
        sublink: 'https://www.macrofocus.com/public/products/infoscope/datasets/pricesandearnings/',
        left: 'center',
        top: 5,
        itemGap: 0,
        textStyle: {
            color: '#eee'
        },
        z: 20
    },
    tooltip: {
        trigger: 'item',
        formatter: function (params) {
            var value = (params.value + '').split('.');
            value = value[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, '$1,') + '.' + value[1];
            return params.seriesName + '<br/>' + params.name + ' : ' + value;
        }
    },
    toolbox: {
        show: true,
        left: 'right',
        iconStyle: {
            normal: {
                borderColor: '#ddd'
            }
        },
        feature: {
        },
        z: 20
    },
    brush: {
        geoIndex: 0,
        brushLink: 'all',
        inBrush: {
            opacity: 1,
            symbolSize: 14
        },

        outOfBrush: {
            color: '#000',
            opacity: 0.2
        }
    },
    geo: {
        map: 'world',
        silent: true,
        label: {
            emphasis: {
                show: false,
                areaColor: '#eee'
            }
        },
        itemStyle: {
            normal: {
                borderWidth: 0.2,
                borderColor: '#404a59'
            }
        },
        left: '6%',
        top: 40,
        bottom: '54%',
        right: '14%',
        roam: true
        // itemStyle: {
        //     normal: {
        //         areaColor: '#323c48',
        //         borderColor: '#111'
        //     },
        //     emphasis: {
        //         areaColor: '#2a333d'
        //     }
        // }
    },
    parallelAxis: makeParallelAxis(schema),
    grid: [{
        show: true,
        left: 0,
        right: 0,
        top: '48%',
        bottom: 0,
        borderColor: 'transparent',
        backgroundColor: '#404a59',
        z: 99
    }, {
        show: true,
        left: 0,
        right: 0,
        top: 0,
        height: 28,
        borderColor: 'transparent',
        backgroundColor: '#404a59',
        z: 10
    }],
    parallel: {
        top: '50%',
        left: 60,
        right: 20,
        bottom: 60,
        axisExpandable: true,
        axisExpandCenter: 15,
        axisExpandCount: 10,
        axisExpandWidth: 50,
        z: 100,
        parallelAxisDefault: {
            type: 'value',
            nameLocation: 'start',
            // nameRotate: 45,
            // nameLocation: 'end',
            nameTextStyle: {
                fontSize: 12
            },
            nameGap: 20,
            splitNumber: 3,
            tooltip: {
                show: true
            },
            axisLine: {
                // show: false,
                lineStyle: {
                    width: 1,
                    color: 'rgba(255,255,255,0.3)'
                }
            },
            axisTick: {
                show: false
            },
            splitLine: {
                show: false
            },
            z: 100
        }
    },
    series: [
        {
            name: 'FDI and FACTORS 2018',
            type: 'scatter',
            coordinateSystem: 'geo',
            symbolSize: 8,
            data: makeMapData(rawData),
            activeOpacity: 1,
            label: {
                normal: {
                    formatter: '{b}',
                    position: 'right',
                    show: false
                },
                emphasis: {
                    show: true
                }
            },
            symbolSize: 10,
            // symbolSize: function (data) {
            //     return Math.max(5, data[2] / 5);
            // },
            itemStyle: {
                normal: {
                    borderColor: '#fff',
                    color: '#577ceb',
                }
            }
        },
        {
            name: 'parallel',
            type: 'parallel',
            smooth: true,
            lineStyle: {
                normal: {
                    color: '#577ceb',
                    width: 0.5,
                    opacity: 0.6
                }
            },
            z: 100,
            blendMode: 'lighter',
            data: rawData
        }
    ]
};
    
截图如下