//////////////////////////////////////////////////////////// //////////////////////// Set-up //////////////////////////// //////////////////////////////////////////////////////////// var screenWidth = $(window).width(); var margin = {left: 50, top: 10, right: 50, bottom: 10}, width = Math.min(screenWidth, 837) - margin.left - margin.right, height = Math.min(screenWidth, 1000)*5/6 - margin.top - margin.bottom; var svg = d3.select("#chart").append("svg") .attr("width", (width + margin.left + margin.right)) .attr("height", (height + margin.top + margin.bottom)); var wrapper = svg.append("g").attr("class", "chordWrapper") .attr("transform", "translate(" + (width / 2 + margin.left) + "," + (height / 2 + margin.top) + ")");; var outerRadius = Math.min(width, height) / 2 - 38, innerRadius = outerRadius * 0.95, opacityDefault = 0.7; //default opacity of chords //////////////////////////////////////////////////////////// ////////////////////////// Data //////////////////////////// //////////////////////////////////////////////////////////// var Names = ["JP_C_rice","JP_C_whet","JP_C_cere","JP_C_vege","JP_C_olsd","JP_C_beet","JP_C_fib","JP_C_crop","JP_C_catt","JP_C_pigs","JP_C_poul","JP_C_meat","JP_C_anip","JP_C_milk","JP_C_wool","JP_C_log","JP_C_fish","JP_MN","JP_P_catt","JP_P_pigs","JP_P_poul","JP_P_meat","JP_P_veol","JP_P_milk","JP_P_rice","JP_P_sugr","JP_P_food","JP_M_beve","JP_M_fish","JP_M_toba","JP_M_text","JP_M_wear","JP_M_lead","JP_M_wd","JP_M_rwd","JP_MaL","JP_MaH","JP_ES","JP_WT","JP_SV","JP_WST","CN_C_rice","CN_C_whet","CN_C_cere","CN_C_vege","CN_C_olsd","CN_C_beet","CN_C_fib","CN_C_crop","CN_C_catt","CN_C_pigs","CN_C_poul","CN_C_meat","CN_C_anip","CN_C_milk","CN_C_wool","CN_C_log","CN_C_fish","CN_MN","CN_P_catt","CN_P_pigs","CN_P_poul","CN_P_meat","CN_P_veol","CN_P_milk","CN_P_rice","CN_P_sugr","CN_P_food","CN_M_beve","CN_M_fish","CN_M_toba","CN_M_text","CN_M_wear","CN_M_lead","CN_M_wd","CN_M_rwd","CN_MaL","CN_MaH","CN_ES","CN_WT","CN_SV","CN_WST" ]; var matrix = [ [94.0969689064418,0,0,29.7261467798724,0,0,0,10.7042910798205,3.43901187572234,0,39.8373246429345,0,3.36585149401547,10.0984920820272,0,12.4105132509933,2.34504569587083,0,114.134142226213,82.9310796540683,26.177152271526,2.77378801763669,4.11965067715911,51.6584846202464,7586.02258532792,5.73779316691545,2940.89074944232,462.324003209104,14.8000997055483,3.55489405547513,1.56974693781463,3.13880508777406,0,0,0,50.9109957010783,250.547431104853,7.54683358400209,1.2662323969515,2112.73082252347,86.0853970002,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.86633563358297,14.34539698133,0,0,9.7106787043958,0], [0,20.3678529883661,0,0,0,0,0,0,0,0,6.09959465703985,0,0,1.02139426415177,0,0,0,0,8.10716472954335,9.13456608083978,4.0070825607779,0,0,5.74848595954651,0,1.05776534921554,564.519961388848,17.9402862353994,2.07910653914826,0,0,0,0,0,0,2.95148511160335,8.44968992198508,0,0,99.852009527109,3.28261561393396,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,2.81581256881161,0,1.06296408687917,1.93635668726682,0,0,0,0,20.5711998077057,3.72205199629094,1.83712724921097,0,0,8.78563393244368,2.23774123034829,0,178.524953707441,9.16980181359361,0,0,0,0,0,0,0,1.26616809622408,3.60061911554953,0,0,41.970111194082,1.39358129764676,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,10883.6185267715,25.348805785079,0,0,0,0,0,19.4958871968379,0,0,3.31119988796686,0,2.15759945695959,1.9329620297797,0,36.1566751610864,34.167421081996,16.2092180505904,5.23385958007723,251.349387889195,21.6363987043457,6.51189123374686,3.61574571972229,1598.0288707432,348.824700689271,30.2024012325991,2.1208251556747,2.16281292449644,4.53609209866472,0,0,0,69.7500782508599,260.276914858743,11.2742946745457,1.91246417679494,3306.79719431504,112.363129648544,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.29631086925866,15.9408419197553,0,0,11.6704133521277,0], [0,0,0,11.5355449562424,281.18408053169,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6.74155648686434,0,0,0,43.5048832198525,9.37488486704878,0,0,0,0,0,0,0,1.86913335114844,6.9889694215902,0,0,88.838069429322,3.01778517852619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,2.98721150105092,0,0,1.63036853456883,0,0,0,0,4.03022150540235,4.5048148570064,2.0013650327081,0,0,26.2544935341818,0,168.952714970297,151.270610457749,64.9829840609285,6.52023249660608,0,0,0,0,0,0,3.52796219604729,9.23309763334007,0,0,106.469218713188,3.22557367548932,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,210.915077731084,2.12544054365674,0,0,1974.71213548161,6.01172826307857,0,28.6561941360319,0,2.68929704040951,91.9977688461181,0,1.17472726601913,0,0,196.466237236037,42.0865641010121,18.6834938181552,14.1580006816604,7.0554649272124,399.647312579472,23.1002922320662,3.90187032143897,625.39545554781,76.5169742248165,6.43646939676397,406.211772014254,4.82093994458413,4.59003679155842,0,0,0,126.215250925697,164.415023003872,5.17793642188543,0,998.537216482511,175.937159699692,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.17130314961027,1.430032188694,0,0,0,1.74585422935895,11.2522322124228,0,0,8.48211229967573,0], [0,0,0,15.6445459031488,1.19397928737384,0,0,5.58683174819074,86.3297425446354,0,3.07625430843159,0,0,3.04352783359195,0,1.58197285608775,0,0,2802.84198193108,5.23130773004653,2.12790737610246,0,0,14.6797059294621,72.0498313023176,2.80194371833256,253.24991312263,16.6233853652908,2.9469547332646,1.75247350907297,0,1.48449626325074,0,0,0,26.7848285855437,86.2217186603806,3.62373411853236,0,1047.9320765228,32.9013534739964,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5.25788921693819,0,0,3.76926190425472,0], [0,0,0,1.02233527201235,0,0,0,0,0,0,1.89618426348072,0,0,0,0,0,0,0,5.75315508457403,2194.02793316648,2.0784521606581,0,0,2.16069961944756,1.96442250688267,0,167.020642078217,6.83201347448721,1.64054863138092,0,0,0,0,0,0,11.3737170221812,37.1013605289716,1.57565310021204,0,457.873252614093,13.4374379589063,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.26263020188606,0,0,1.62514230555215,0], [0,0,0,13.7138513653061,0,0,0,1.28887156317159,0,0,1321.91239697529,0,0,1.00243404028722,0,0,0,0,7.00280424610487,8.63141470274086,845.528902030825,0,1.04774033776653,6.30794594830305,22.2588381357378,1.15655224777034,491.007557722532,20.6554605462778,13.4436440269634,0,0,1.71648934595945,0,0,0,25.0637953851075,100.081924454335,4.33937239204626,0,1288.49198511152,35.4603039414177,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6.05644801231136,0,0,4.36975804899123,0], [0,0,0,14.118853942168,0,0,0,12.7605343542006,0,0,0,9.82315158869246,0,0,0,0,0,0,2.43794776109047,1.29799312994386,0,0,0,3.26358799018973,45.0433520235071,0,54.459906458534,4.64598932038474,0,2.63964579618334,0,0,0,0,0,1.36572163181146,3.34205949674181,0,0,28.533254352818,1.96021084070875,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,1.39907861837905,0,0,0,93.4426654133692,0,0,0,0,0,45.4353643304178,0,0,14.4787832741705,0,0,2.8961879211918,0,7.14745217555406,0,0,0,0,1.61909931740547,0,0,0,1.79430626427032,3.82750313863793,0,0,33.7847812058887,1.17712712632725,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [1.24272777325419,0,0,31.6015214246059,1.39905028144881,0,0,26.9635160039427,8.76672921685884,0,7.2986200405743,0,2.01928611032734,603.585369365455,0,1.67837509992564,0,0,286.990727704333,13.5733131706487,5.33392900963192,88.5255713805039,9.81710477996947,2605.30577177245,100.90444780266,1.48338361066801,608.317389419302,163.795693838506,9.13792359538671,6.06306771714706,6.15825459810046,10.7547944289678,0,0,0,41.1096013651945,82.0756268757751,3.02128488027979,0,787.735640788938,26.0422604043978,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.12466125674031,2.04886083062833,0,0,0,1.05275471445094,6.30250486151322,0,0,5.91713624824849,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,5.6301199105181,0,0,0,0,0,0,1.14723100129179,0,0,0,0,4956.05580491593,1.05073991109889,0,5.48479176713899,2.86533621439485,0,0,0,4.00341118116694,2.8698376537479,0,88.8859986983914,10.5485735866041,7.6518704064019,1.11609550668277,1.31552812654358,5.59639985914395,2.52753883890318,79.9870256029323,3.2054437876861,80.9321065055611,304.86528859375,8.9514840128897,1.04052256583026,1540.02125794296,48.7530295887674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.30645078533039,18.1096824196631,0,0,12.2173318176513,0], [0,0,0,2.15778438568648,0,0,0,0,0,0,4.22869688594323,0,0,0,0,0,2048.11623016689,0,5.64688352487819,6.97399336988044,3.02436295787425,3.27814252095525,0,5.38654417945748,3.29208155585774,0,373.098805580535,17.7858997794675,4296.72460125358,1.18883311580145,1.25617048816033,2.67589814042375,0,0,0,38.1533003400696,283.831226505299,6.95637912304039,1.14341143727597,1944.67959258369,59.2815228909673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.91268113766959,15.5998765359868,0,0,10.0710984848198,0], [0,0,0,12.5297164709672,0,0,0,2.24136218019253,0,0,1.1977558235527,0,0,0,0,4.1680975124682,1.92775621246735,230.146129738068,3.35035084916497,3.21243672022291,1.19166109598944,0,1.80013303227172,7.50245355498189,9.05073616864733,0,58.8401749466454,38.8806536765893,12.8972804163504,3.94390804081025,6.13913176442267,9.51606521843941,2.29273991673927,0,0,788.978279845848,757.121863048916,57.9658610053676,3.7213410932531,3441.65772554314,125.633514889533,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.15853772606216,0,1.22229222516219,0,2.33788695195586,2.60916917069773,0,0,0,8.13471544663367,51.8986524945525,0,0,35.6216078757575,2.31822777221674], [0,0,0,1.26575335374785,0,0,0,0,0,0,2.99240252034268,0,0,0,0,0,0,0,3426.90821545304,4.81153855940459,2.08230511817844,0,0,3.61584311430711,1.97976386464736,0,264.082941236339,11.8500166398601,2.99352782766149,0,0,1.53316777614347,0,0,0,20.3561512221886,89.1709431623298,3.91331534909116,0,1169.79445753483,36.1521773716834,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5.36983865662563,0,0,3.87412061065715,0], [0,0,0,0,0,0,0,0,0,0,3.64010930234335,0,0,0,0,0,0,0,11.1716754839201,4318.24079979216,4.02918148649841,1.30907614079845,0,3.9726014857058,1.60930536501027,0,327.195449609265,12.9668015807416,3.14268524002983,0,0,1.19025736578147,0,0,0,15.7778258137613,67.9726991931784,2.97589197396128,0,889.406276056059,25.7980697300563,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.09882230932654,0,0,2.9627693560767,0], [0,0,0,0,0,0,0,0,0,0,1.9316849847104,0,0,0,0,0,0,0,2.76787249952048,3.21866814256168,1177.29290689401,0,0,2.23003863606614,1.08325771344541,0,172.352063736559,7.29369395519267,1.70240410319414,0,0,0,0,0,0,10.9307435194161,47.6577192282072,2.08728429231398,0,625.471296108563,16.5950399977539,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.87147953684353,0,0,2.07391925640709,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,586.370490753464,2.20709910396338,0,0,0,44.21412922421,2.61033355408355,2.59997416993691,0,2.85518872808205,10.1767738503042,0,0,0,21.1895621755099,25.3453687207282,0,0,158.90738263123,5.85495600499672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.94330288592982,0,0,0,0,2.2279269369903,0,0,2.85065590915291,0], [0,0,0,1.49413060946014,0,0,0,0,0,0,17.5128944418805,0,0,2.80366003215788,0,1.29460246826209,1.14269409103615,0,19.138325265426,25.8705893219274,11.5443183717758,3.4929352052917,1549.77128241633,23.1919841836681,2.34772535692204,3.08480257024309,496.821689935768,53.8966215792919,25.9928642573919,0,0,1.10292711524113,0,0,0,47.7443711353424,67.5249194162723,2.3923998281281,0,562.766930051303,19.0510796906075,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.56979046859072,0,0,3.4777210451846,0], [0,0,0,2.68014647071314,0,0,0,0,0,0,14.9355915968921,0,0,3.17300928085957,0,1.42296760002628,1.52535166052065,0,22.3681257719848,29.5802288870861,11.2990835016741,2.04486987883785,24.8746735115311,7557.32804799137,3.83783136219246,2.72099062581434,1356.30822644797,442.086022737292,22.2720470617823,1.16941832801068,1.29364173776386,2.46219158845127,0,0,0,80.8433258264009,153.81324341556,5.89108288167524,0,1546.94564997779,44.6877334228834,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.15770673726111,0,0,0,0,0,0,2.10401454572414,12.1311050500262,0,0,11.8773199641667,1.59903190373027], [0,0,0,2.87240184882161,0,0,0,0,0,0,19.7827814288412,0,0,3.23412479226329,0,1.87027910057313,1.55756557903755,0,22.1187301108979,29.6735911630047,13.1356299092426,1.14498836952366,2.30042023820188,19.5233263872267,9867.22627239462,3.58231283691167,1818.68030450798,237.630975227617,10.5004364949511,1.47075901557712,1.44506675625285,2.996203181009,0,0,0,41.6647687035079,171.293599335489,7.49296728251059,1.28310966563348,2212.87495428175,90.8452539635257,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.4649466775751,10.3806735597289,0,0,7.58176423328692,0], [0,0,0,1.24210881356793,0,0,0,0,0,0,13.8294589643564,0,0,7.54309027847194,0,1.01838557136798,1.13845981150326,0,18.6428781795952,20.8315280884413,9.26543027087636,1.62429403879706,1.94154987219807,121.529739699829,2.71289911381507,782.209388307998,700.336371582327,300.853560816498,30.1869476138636,1.44630891907473,0,0,0,0,0,16.3329489629273,42.7453227480589,1.75264108860266,0,492.908177508021,14.9330295862797,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.71553288215277,0,0,2.10495038930484,0], [0,0,0,33.0787079085498,1.13587823725213,0,0,11.8728064280749,22.4790664824439,0,715.739387209152,1.52506086767999,33.5063495553931,114.257033864168,0,48.1420047087095,38.4816847371283,0,775.521835980978,1052.23035088134,470.229734003421,36.5382759660891,69.9031563702394,650.995979714256,72.1787591619354,124.490055413264,66520.9956128451,2107.4916035221,244.740529281441,11.5890245534701,10.5608744600909,19.2275704545028,3.55773130240454,1.60553845226579,0,345.499244554467,988.822804358069,41.0790459134855,6.95469641745387,11685.7382522934,384.239836131639,0,0,0,1.05140361139903,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.17978104081372,0,1.64367665499319,0,3.42683485018829,4.22584719279049,0,0,0,8.83706236905199,61.5756988298255,0,0,45.9699089853745,3.10030273329827], [0,0,0,8.62392132313086,0,0,0,1.9957668399109,0,0,1.91582053630694,0,0,1.21816369935382,0,2.13345772657403,25.5261579146705,0,7.15011223534553,5.0796953187153,1.78957268479957,0,1.61729037644746,10.2580688457649,11.2224531326904,0,90.2261697070092,28331.8254393591,77.5954039651467,6.63767923698858,4.42717078449426,9.47387867240045,2.02816494955612,0,0,125.305624936285,555.517097490129,24.3325962142608,4.12854827424231,7279.80983877741,221.454568686789,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.76773592156132,2.08708631585737,0,0,0,5.51304025346145,36.2107011076448,0,0,35.1597936090278,1.95760426457112], [0,0,0,2.62300418560934,0,0,0,0,0,0,7.50386875848102,0,0,1.28128459813871,0,1.11361347542743,71.7651120701969,0,10.2605692249387,12.2846804107293,5.45972693692823,1.14596477398714,1.16554310991917,8.59457014542796,4.04397984434573,1.4692271596425,674.520730031858,28.2646144787261,14774.7922896232,1.40692705452108,1.4783629405227,3.08199101154516,0,0,0,48.5017545488141,184.760850180707,7.78615563899276,1.31715995883781,2291.06610563317,67.4913979640443,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.60615842158448,11.3249589279982,0,0,8.66484043129367,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6713.4125345817,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,10.7538215907688,0,0,0,1.77873015502481,0,0,1.11207696814921,0,0,0,0,16.547143256922,22.8329439355987,0,2.88029005155759,2.58481092297902,1.04409097647642,0,1.50582476375339,5.12186041834701,9.17189839540405,0,52.5683100799943,19.7915982041141,54.0887693263148,4.64573162691789,4462.12263235031,1620.95140980265,55.8489802930878,1.01826555955088,0,215.828012310652,1148.79714802222,14.4192493339878,3.7261537178616,2524.53643288485,334.418730437268,0,0,0,5.99049992931951,0,0,0,0,0,0,0,0,0,0,0,0,0,1.28696763775233,0,0,0,0,0,0,0,0,9.0090782307665,2.07694457307722,5.97196582920671,2.336408920181,666.150698333214,810.434189902949,45.1811301577064,0,0,53.620212064546,283.110936471174,4.10241500556968,0,326.593653193916,45.295430150395], [0,0,0,25.3482444160582,0,0,0,3.91861539807482,0,0,2.34591318076664,0,0,0,0,2.61256956107807,10.2900603476348,0,5.32415400502675,4.55215942529452,2.14834158620748,0,3.80543221458953,9.16624439984105,17.2972052244661,1.18246826964192,99.7087617407762,30.3081611950184,32.9973213656893,4.71843774760183,14.5808773616682,7799.21978355225,7.77779024383589,0,0,129.898017541794,704.227788839731,15.0543286979232,3.66796870440759,2799.32664024214,473.334597034091,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.52092017807716,5.39981851390688,0,0,0,4.90919512896162,39.8023964966421,0,0,26.1836054010128,2.00265348285268], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.61957187485577,1.53468411986519,1.48878833578586,0,0,4.10820140848628,1917.17311353525,0,0,11.5799478835341,104.916430044811,1.90234982131062,0,248.96124599859,39.0550881405663,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.35870081984522,0,0,0,6.94062962703044,0,0,4.81457183679397,0], [0,0,0,14.3801745795202,0,0,0,2.72825921855494,0,0,2.26310800526013,0,0,2.8195706207873,0,36.0441529279661,4.95229976714367,0,32.7124743921132,11.2693412464881,2.5082065186612,1.40301342757473,2.50611407876204,21.2817669637101,16.5751758882059,1.25692909744838,107.369563103858,48.6383436522023,44.8695540313258,6.23330456302753,7.23014619532081,16.9098927038368,9.7077269238045,590.542547847596,23.6109316568686,435.631554166451,1950.02849266031,56.396476026181,6.08586054417048,9039.74629448338,281.668678618309,0,0,0,1.78909461964502,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.09100341582587,0,2.02991471051613,0,3.86174474503228,4.24745768527395,0,0,0,14.2670441223683,114.744010592775,1.50953192881224,0,77.0723080725678,5.15410790741472], [0,0,0,4.27984564879562,0,0,0,0,0,0,0,0,0,0,0,10.7275061384148,1.47390968675212,0,9.73592778128114,3.3539955187515,0,0,0,6.33390625646745,4.93312469962564,0,31.9554644432186,14.4758050254109,13.3541331172613,1.85516394562307,2.15184520626539,5.03274353937165,2.88922589950414,18.3411094776654,164.444019996207,129.653211180943,580.369933145706,16.7847901423816,1.81128147124442,2690.42066427763,83.830586473089,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.14933732913952,1.26413369964593,0,0,0,4.24617561981853,34.150256782017,0,0,22.9383572864816,1.53397207933674], [14.1496148496395,4.5335371345968,0,2833.83298177215,72.4661503415957,0,0,494.454360337459,9.47305888294015,0,196.079684408823,1.41082686126979,14.1394643748907,71.3266405185964,0,331.277928134027,407.324366507715,34.932439380944,538.671929233016,472.224944663448,191.5628113268,107.358808556022,355.284009277245,1389.40558627926,1454.88703410603,163.918005467377,10807.3568324592,8606.83749806789,2316.04553504272,706.410073560916,1283.20953054703,1752.16658876602,428.723358553047,91.7969899439888,33.6745720444514,210865.773451927,154860.495683443,3732.0415459525,601.061565862477,290990.180179635,18393.8044058246,0,0,0,209.084581971084,0,0,0,26.1997268820564,0,13.0913567606529,4.89541512902261,18.5322920496369,12.8189763055419,0,1.94879890848679,3.51974653496277,10.2505217027417,39.3024444223717,1.6974698704714,9.62718061852318,9.22780942912276,5.46825700319222,0,3.08023257134391,9.3342842755637,0,238.635184823865,40.5668367380518,263.609965555978,11.4875786332421,481.33540109029,535.019156998807,108.680764789426,0,0,1651.25511805493,10948.4155492476,135.738113704567,12.1291519917847,7259.3370004064,477.707610446776], [2.99828953958417,0,0,259.257086229545,13.8921017291187,0,0,68.438366299117,1.97948536022514,0,38.2101426508541,0,3.3816876655718,22.1529886395324,0,113.708661963748,152.562501104624,13.0578910979186,99.5612998643894,101.715136039718,34.9363052015705,15.2804454063484,44.9590115179483,236.158048633238,329.689071780644,25.1756136500016,1745.43172699184,956.903282030727,555.901442988235,129.788306817388,124.418586226917,373.967065202097,71.5289378858833,22.9173475639599,7.86386271686754,5748.39845389352,661348.156226719,2289.56548009131,211.91455470658,85123.2456323762,6608.84055129511,0,0,0,392.070619656211,0,0,0,48.1872061691696,0,23.9924376577757,9.34023278258879,35.6788367800158,23.8162304853271,1.74553532875125,3.93137488208346,7.34939551142801,21.7599022948563,100.848988421149,3.31482029936151,18.3322177268202,17.9834889407445,9.32515336731012,1.82770280888888,6.53101428354211,21.5100811369495,0,409.097565989506,83.2726138174103,382.104795140232,25.7652485547338,650.039532243788,649.626567146293,168.231703063319,0,0,3099.20880811468,32067.1630612009,420.437127425565,29.7640037452431,16475.8643796541,1187.97014964022], [1.55914571370896,0,0,148.548974364773,3.8705222575916,0,0,45.0583846362001,1.88842677574694,0,30.4080558533784,0,4.15611707756629,17.3640687586374,0,54.8076635944025,30.3458053488813,11.0987119304316,89.8104097429455,97.0817418533851,28.8892118313302,19.5581787352419,37.5633094047646,234.613043608818,268.742957403941,31.3850844977096,1529.99212667053,633.161464034633,339.118093233621,70.4463202560788,150.051516041705,214.850788321539,36.6351906458552,13.7326312010812,4.52712831704683,5211.87162350226,12859.3390477394,28638.8139254845,213.149323499102,37393.0837433814,4244.46870570016,0,0,0,11.2509626157004,0,0,0,1.40007258266301,0,0,0,1.07202291022049,0,0,0,0,0,2.4895235897545,0,0,0,0,0,0,0,0,13.0210629243857,2.34291822587339,12.9791921637874,0,39.4995671969785,45.1001690718802,6.5337887952002,0,0,90.3607826378263,731.280733753528,9.53856803912465,0,444.702555180692,30.8858327544295], [0,0,0,20.4973782949583,0,0,0,6.05800198568917,0,0,7.45048558263043,0,0,3.51301079651468,0,5.61114511819894,4.01441743473484,1.14305349524286,19.2696601408095,16.371349156181,6.60070468424509,3.3224927751855,6.68910675595906,63.0087818204408,17.4393180259967,6.47326907945751,319.831752248175,208.466703216863,72.6221740867584,13.9429765006189,21.1312594744045,25.202124285528,4.11389444479679,1.18550959770595,0,593.966319853061,1534.40831911943,63.5150534028234,7442.72756569289,8106.12913362593,1254.06885551107,0,0,0,1.41056465608995,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.71452484962429,0,1.67953643057029,0,5.34967205058641,6.17447442202515,0,0,0,11.4884131262094,89.2370431291919,1.18222075547193,0,57.0905178956838,3.91917368355575], [21.2298538215981,6.09288562986606,0,2952.90557647913,101.111799260996,0,0,553.756378172253,30.8904952527703,0,587.073294277845,3.9072874854614,36.6938030164386,205.621685469971,0,843.56404255358,566.401763514808,147.251164177656,1676.77760636086,1787.41724537007,602.131170323026,239.149126814476,628.249381460708,2894.54124436951,4495.08530217082,318.510461621952,23562.8070264722,9731.22290470109,5394.08030000979,1708.9581128745,1787.87107241283,3845.1465393,822.00178358935,192.479131228672,56.6620879793039,50115.2126289829,225257.908549315,9880.06971110655,1663.56205072271,2976997.4552859,65397.5794320457,0,0,0,223.999003301895,0,0,0,28.1964366582818,0,17.875681306652,6.94990923842035,25.1926271985723,17.6091958474536,1.16329379285407,2.75609255663766,4.51382369092556,13.8775268702475,49.6632138202524,2.494090116833,13.4525858886651,13.3539190078238,7.58172017785167,1.22836771053451,4.24642906281401,13.2849040753416,0,306.007745278363,49.1719252055932,281.703877424756,16.7025161510576,649.700463384799,746.844558080771,125.53777258437,0,0,1899.68986451076,13547.6651431033,188.395308241066,15.7119542000531,9763.03382428792,635.04950362085], [0,0,0,400.704359011487,3.84150116498766,0,0,43.5674716150836,1.220664489469,0,23.1118181794111,0,2.23453443252774,9.34232160991366,0,126.082567388402,30.3662633773762,6.13144464377176,64.9740604578259,57.2406734042767,22.3115434542619,9.24718095791514,30.683731649353,102.781162829519,119.827802317123,22.5282781248115,1105.97219928798,461.408798350903,233.855131678776,244.730883958988,80.7032065908804,161.40008188178,49.7422067454924,11.0128902501718,3.31961023088844,2274.33917651779,8045.56665886825,524.709764762986,170.001982786363,54623.4780378498,155984.211901447,0,0,0,7.30765285597286,0,0,0,0,0,0,0,0,0,0,0,0,0,1.65912303033583,0,0,0,0,0,0,0,0,9.19805776001537,1.56208673338984,8.65070246690189,0,23.8355023815597,27.2866101294218,4.18971554412033,0,0,60.0428263745246,463.142399015463,6.3859934540793,0,305.132184822877,21.2753184064542], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.29750165893672,0,0,16.4785316626216,5.89506928594189,5.20802640257791,0,1.49306689771851,3.66082312218529,0,0,0,5.83536197241913,42.3851152530148,1.25287231734069,0,70.6141669574077,4.64411254450119,182.794542299365,0,0,76.806524361075,0,0,0,7.3918092506225,5.92976847705549,381.571671499255,152.586302889172,306.28667924364,309.863419817259,13.6962230593699,29.2244197407354,14.4223536092819,23.2513532022839,13.0605877173376,25.6728906209192,230.186330020963,247.750810761121,27.7662012827501,3.01591442982666,33.444763662804,1556.74260985472,0,7316.40377895299,72.4937891499266,803.212512512448,78.6727688178522,528.941206448984,593.094894917791,255.179807327956,0,0,844.776539093581,2119.09900957401,42.1837989411276,6.27054224355498,4810.74418079201,1241.58431558241], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.1988643646926,0,0,14.8843237245697,5.44251022546226,2.26281201794616,0,0,2.02201775457823,0,0,0,2.92942862627572,21.4539203331617,0,0,44.0103154635182,2.64500248362464,0,32.8230674118085,0,35.9121985477116,0,0,0,3.55477902626033,5.43383818336331,270.063982881165,89.2024056458347,288.206898925644,259.015040950053,11.3258651345851,26.288990476437,12.6157653828881,16.2492573648735,6.48215505742268,23.4808908968448,162.88616931257,145.058074040111,25.6827011889741,2.36947513053788,26.2430882523343,5.69957501954848,0,7212.23771527219,58.5943845611308,284.348442928429,2.09748183312636,286.28845011976,317.964504933409,77.3384690855004,0,0,316.48088934511,1065.69106538487,20.3918096895842,2.28889798312948,3033.22137043352,268.75297544026], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.13487865402377,1.2272630083913,0,0,0,1.57515605769025,0,0,19.6831670186414,7.14235988230961,3.01932855610538,0,1.13542439961318,2.78634905039522,0,0,0,3.93194219175937,28.8797537347529,0,0,58.6682757648175,3.55917313840622,0,0,37.7027285337818,48.2218496609474,0,0,0,4.78254560943667,9.71440626622329,356.661952985014,118.196631446496,510.868915924978,361.505913437347,19.1639566537263,47.1253596020048,16.6388242044185,21.5380137217348,8.72630249191506,41.7949432164289,215.133168814422,192.215959035881,33.9851857938517,3.11471416856134,43.9880712118094,7.76681565282852,0,9440.12457555549,76.9078443242522,381.125991847416,2.85799673903366,396.074850095266,435.646986579984,110.74400565914,0,0,426.953006641734,1432.0027610641,27.4092086181092,3.09827395648683,4071.44621756826,370.211388521101], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.0695751267393,0,0,0,1.46944205995047,0,0,17.3752894432784,6.63064104131288,3.60991050185848,0,5.3227430883746,12.9869894898986,1.77524033746773,0,0,10.200478133848,76.3901111961721,2.1808717976107,0,114.221395241757,9.41892528952922,0,0,0,75933.0848771106,0,0,0,12.4822798196291,5.66735077256627,286.882680106179,95.4654781216484,303.164831346993,270.504013363558,12.0622889987256,28.1082986461692,21.5766721933874,25.9606901584085,22.5682850876556,24.7407722584711,174.6196340154,156.371380588354,29.5302603444032,3.06286932437921,39.4666260990614,11.5765861646684,0,7597.15215484833,760.850233879639,408.624338745258,11.2799155872185,1983.05471131132,1750.63872502669,1050.12973843028,0,0,1385.45211869653,3357.48462172434,62.6030939879061,7.22455636565611,9933.94502275942,534.827806543939], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8.71310759261691,2.64254774593093,7.105681686095,0,1.18336793380233,2.89698197787509,0,0,0,4.68845302163491,32.9572693504466,0,0,55.5411373161792,3.65438373147171,0,0,0,56.7567500538906,237.021019871585,0,0,5.61360879915381,3.61447918960728,164.701052853157,35.8197083795151,115.413127187323,111.724903190217,7.17994856807308,10.5891854935391,7.20298151087683,18.2626354181536,10.0599079331094,15.6361695184393,99.8859093552408,58.7930371583755,16.815208700861,276.142425962862,20.5627294349481,34.9343213334554,0,2836.81989396789,30.3500058056507,1230.82869584174,3.57462824951605,422.190741843421,443.094183447138,196.433767244773,0,0,671.183889399594,1608.89580177181,29.9606002918637,3.48839887185487,4336.37029270043,207.133386595303], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.90362587616091,1.16225843259851,1.56925312132822,0,2.56577304670834,6.25668525406561,0,0,0,4.33307102904777,33.6163780387776,0,0,44.6385666799687,4.07919296305845,0,0,0,52.5101112000377,0,191.803721100949,0,5.35315699027942,0,33.3370633384717,11.1056057470309,38.8432949682613,31.7290418392578,6.04404677185898,3.39575993439784,6.04220205455284,7.3337737837117,9.76183718482875,3.33860835002343,21.0217155876536,18.7284604493766,5.17316865021656,0,16.7191312700927,6.48148386562928,177.608020561769,827.533507092889,72.0525643379603,209.609198450009,5.5386212348364,964.512302433525,825.289003558065,547.888295746452,0,0,612.168893503264,1468.86461579526,30.263269259443,3.0990751769103,4190.95533554798,184.185820667946], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.43806908735599,0,1.02260134692149,0,11.4354670155659,27.7768285531025,1.84998328065615,0,0,4.34240817890818,41.1566123327462,0,0,63.340462336801,7.47255421745903,0,0,0,15.1362877412836,0,0,20.5723626961032,1.56253259110572,0,1.23572109730954,0,1.91166898049526,1.21784481517918,0,0,0,1.10569025009856,3.05928051133081,0,0,0,0,0,0,0,0,22.6417495223379,4.93649412676963,14.3725744224617,4.58619373950794,4399.41006458513,2082.61616621094,158.809629910864,0,0,151.66338075464,589.177534069978,8.98941728450082,1.24951869347086,792.854764468142,101.844035214141], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.84643427436762,1.16128415410692,1.07594161742802,0,2.17280041048627,5.30171461885945,0,0,0,3.98731998132616,31.4619076249424,0,0,39.7613877390993,3.59933307098638,0,0,0,50.1950624528849,0,0,0,14819.6178768062,4.11475642133449,130.443181876233,39.8449879841626,394.393316281783,126.165938144715,21.2085841868235,51.7719959669607,5.51933606607191,7.79339560078907,8.92905113182778,17.6685538118152,79.1153177708738,65.0549304761436,6.03301786765727,0,47.4831534050518,4.39449135390342,0,937.295547983288,15.2418793631943,124.01196629871,1320.85616374581,814.619460550596,701.807849106495,446.300937354752,0,0,583.621111502736,1447.53608531834,24.8478435014564,2.80882122846697,3591.8125349296,201.706287298673], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.36471329332699,0,1.32274592421231,0,1.68537929806471,4.11438493757338,0,0,0,2.61856439746895,20.2593465190166,0,0,28.8954806026129,2.67830782120838,0,0,0,32.1561085827067,0,0,0,3.52239048059989,257.794805920366,23.84535858845,3.8497896765684,253.453820183967,1292.56444053426,88.433714791588,5.11828721456722,5.60040850526605,5.7576439256652,6.28178385937831,1095.2614441087,15.1566692561939,6.95545526052558,13.0028217218602,0,196.518478563793,7.40162956144237,0,196.539618899191,7.31112101976929,196.239697619841,2.90406642758375,629.455582279071,571.025675176775,199.589902067418,0,0,326.580971310237,851.328864158596,19.383400327388,2.27311982010826,3233.51842000128,240.629792091282], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6.72976218076487,3.05442640959283,5.28496956157921,0,6.02972889592544,14.9283255518288,2.15744943460719,0,0,19.0885130505006,255.02719956755,5.64382814902065,0,199.172017021841,17.4637762676666,0,0,0,245.368610499049,0,0,0,26.6352508330807,2.21239333219553,8050.69264690933,16.0248350361254,51.3199441314299,341.45902650789,6.05632595618726,4.94070868411127,13.4361495056131,116.553529599573,51.1656940322045,10.2383364859507,4831.80600728825,29.2306403217297,16.7208143328882,1.64488113422042,15.1718372486499,16.4110463819713,0,777.56880535146,48.8741445776572,670.633045709645,18.0573780139821,2210.3751001879,1943.70681040087,1162.96391965338,0,0,2418.37409778488,17618.4116038453,163.226434703105,14.8629902994556,18116.9944830846,749.476798509672], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.73690358931841,1.14874628468449,0,0,0,2.23784383276497,0,0,0,4.46683071648706,29.6329219118916,1.0718692548248,0,42.7515304004341,3.51954310080753,0,0,0,67.7175499340513,0,0,0,7.57177454570002,1.43753173431957,46.0084011374103,4249.77903885432,57.5471190944017,733.578012487716,5.36403414009671,4.52521176185445,9.71431741642209,5.94392553675727,11.8935869974682,6.82012445909715,29.7232245334249,6864.80669265425,24.9789662009616,0,12.5297637573392,5.84795093860367,0,796.600233005848,17.9976415639346,113.109153997856,3.96082875768979,315.731007392614,367.82226012667,57.228737194111,0,0,681.185046948859,1370.2200089057,67.8238151032595,5.0083938512488,7554.22521077845,341.712963693699], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.26194409059918,0,0,1.69572122518544,0,0,0,0,4.67846445798946,0,0,0,0,0,0,0,10005.0005663071,0,1.10572375943446,0,0,0,1.85771320896974,0,0,0,0,0,2.47344532139871,0,0,9.16308068778676,0,5.75601550796672,0,10.4769606166033,11.1042589692854,4.16861699126603,0,0,26.9237777561793,61.796340445875,4.40937369626353,1.25851055736719,206.450450584025,492.668429113687], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.16074216971998,7.70574936704818,0,0,0,1.99474276457356,16.2451238603154,0,0,26.502535706362,3.0070662022328,0,0,0,14.5948439025986,0,0,0,1.67464857794834,0,1.68556397604503,0,17.6199976138957,5208.13894611319,0,8.06314916282205,0,1.02896434396922,2.62720816747337,0,1.40798543981525,1.50617008925965,24.2174056817251,0,0,1.16218394265487,0,26.6250637277618,3.42223333167087,19.2510787970333,1.8681186903711,1196.4208034122,1023.96345923168,50.137198516499,0,0,131.382874042539,369.934864360171,8.5443971862677,1.06142851974168,1670.75600371227,58.6297896661342], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.99569844040463,0,3.97386151290477,0,3.08009370071934,7.5231136109813,1.06984553589636,0,0,5.33869733889622,42.7518841015912,1.19886127509373,0,58.1015039172948,5.16230720562719,0,0,0,64.5056266219983,0,0,0,6.70823613780844,0,18.3156958374686,5.90285738509233,21.0205788616363,22.9650830640282,327.88513548518,1.97264242775968,6.62316312512211,16.4860237516494,12.673379271223,2.44035530062718,12.4684777843054,10.9532989769577,19.1086683983251,0,728.120096814696,21.002680726233,0,364.249508315487,13.9803741880119,647.35305889881,6.60607453250108,1149.65905566117,1063.46591427421,663.94550755349,0,0,719.69191031475,1943.90785323141,34.1851041960572,4.43792745967439,5216.81057142291,543.918994569467], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1038.43390524686,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.11977116255084,5.07437067034044,0,0,17.0030133141842,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.28614925318182,1.25239492733571,1.27649441508264,0,1.3553015583448,3.315473849065,0,0,0,9.20778605567813,61.4973820567226,2.01266776208055,0,60.560820933428,4.7379626124935,0,0,0,256.312173959735,0,0,0,26.2233838934767,0,14.7707231111219,5.01116214593665,17.9136294717749,13.8616303535749,0,1.73415662095166,6374.36713108172,6.99769090108849,27.9084073218423,1.57714007618367,9.88527969935509,8.85633286575975,3.39967696535957,1.08093593853081,2.59771813175367,7.17859955129628,0,314.897054940932,27.9660392457539,149.646513395506,6.28986092934257,482.448305058228,384.442231218136,99.3515253929087,8.26583751709118,0,1859.29510459365,3179.61884334056,48.1996024920001,5.11014797284379,4261.78604477038,220.137607052243], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7.05637609713111,0,1.34938414851299,1.60533125175767,0,0,0,1.34602244100261,0,0,66.5693999358386,4.87618193952712,208.097956427915,0,0,2.07151004617989,0,0,0,12.303085916954,74.6077418713312,2.8136722255254,0,470.252014254717,15.4025200221101,0,0,0,102.586687512397,0,0,0,14.7631131579139,2.11835823166191,92.7599352456973,19.4540578764858,62.2426172034304,59.3649936761272,4.17193606054482,5.80116182788427,5.42344541538237,10090.754754584,15.1788134517377,9.54004390203337,57.9855187653796,33.3401994160711,18.1938261373437,1.57542917036292,12.8743633947727,28.3236553245921,0,1423.33969958418,23.9872778740075,38980.0464174273,5.00808346986015,198.204424645448,362.553461615622,71.891917308918,0,0,561.068384512575,2521.08237545056,59.648664427883,7.15029037213886,9291.37153953569,237.174563461873], [0,0,0,15.1636670847644,0,0,0,3.17358840032991,0,0,1.52613443120843,0,0,0,0,2.37093451755515,3.4191796238653,0,3.91679283127935,3.84313298895582,1.39823310595107,0,1.92130122346842,9.15921256952611,11.5463499245165,1.10807665335235,72.1948671309683,41.9565398910156,31.8168021170089,4.77009093847795,19.5508929857269,44.7796319449061,7.14499573410394,0,0,473.302817397532,1596.04008702959,372.468273313002,6.27962731460669,2096.4137430418,165.422237324856,3.88022431299758,1.85684422782488,2.23141835268539,3140.81626179228,10.0920111063099,1.81869627702245,1.04625802512765,290.189521545396,5.43840167482945,219.74037596792,76.2492421382429,286.198132128863,210.509460834835,15.8264516412964,30.0734064343892,64.3541791000141,143.19040494081,8371.85014249778,27.094515887681,155.137901087961,140.441439662299,73.7309742137591,21.2767963554425,50.3823484829371,680.226407801285,2.90233078695185,3739.87343315715,550.602197178047,3049.02547688578,134.945788742974,5483.28031635992,5131.34258464626,1600.72479937304,1.19632889080853,0,46204.3053670915,62842.0228674928,5010.67149109232,225.23137047854,97020.5373602239,5082.4033813671], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.38701949890712,0,0,2.00648862814681,0,0,0,0,3.42749887952065,0,0,0,0,0,1.47930967306878,0,1.68398486716671,1.40378893808663,0,0,0,0,0,453.121664621729,0,0,0,0,0,0,0,35.6104870658763,0,5.28222081857029,0,7.03215796909658,9.79854211866379,2.12274593372354,0,0,33.3766567906386,66.4173216139208,2.53706108865555,0,405.597579787466,25.1720962479393], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.51386138844528,0,0,6.44742370963497,0,0,0,0,10.885925981289,0,0,0,1.19211172692153,0,6.46737524563381,2.23964395120537,7.12702150947363,6.11915211373086,0,0,0,0,1.7773993833706,0,1579.95804680917,3.89503454208557,2.90420650186198,0,0,1.02316724548493,0,161.437610977119,3.09975443543229,20.0321098057357,0,23.6872217944816,33.7390122243679,7.04132546753302,0,0,114.296441352126,216.1150408212,9.33910409871026,0,1170.1152761542,56.9596243096787], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.01099267146622,6.55395249005665,0,0,9.44392585378058,0,0,0,0,15.9442359357018,0,0,0,1.78461491893959,0,7.98009657784077,2.79808356846032,8.88965676349034,7.56337995050318,0,0,0,1.34343934741637,2.67945686171274,0,5.29602364561348,1708.02251783706,5.33698745603487,0,0,1.33501439217676,0,195.730490669212,4.28424950411793,25.2434009847877,0,33.9349092637776,53.0696914202738,10.0940474249025,0,0,160.715379730576,313.575992010959,16.3001632214421,1.18495607621055,1797.20039619847,80.7532499377746], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7.21201911495798,2.43585741410021,0,0,0,23.4322303674143,2.41003546824693,6.0979076438514,0,4.37152971960802,12.3821218969652,0,0,0,14.4839014753242,51.2177225513826,1.47266940364946,0,172.173932462981,15.6584243882591,0,0,0,40.1777169231292,0,0,0,4.44890698213431,0,12.3454082759438,4.41470608931748,14.8625364863991,11.7269353415854,0,1.42780544878715,1.4275735817134,3.00830736418596,9.29468460753885,1.49200134231772,8.38497615368049,8.02235309841156,2670.45232412419,0,1.7006976756325,4.95954748469398,0,288.270244030222,9.02570161007898,221.901935995024,2.2340365349612,256.654584250902,9922.99128672335,59.4781820174366,0,0,370.829956369145,1034.94269649893,44.1086860871217,4.57283091428289,3443.56357502738,275.663626865289], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.36486793926161,0,7.84267768866625,0,0,0,0,0,0,3.49701146469126,23.2601597276419,0,0,39.9466029296276,2.35164221605689,0,0,0,42.3913947121212,0,0,0,4.15664117920144,2.29085652443369,92.4566354633006,6.80506016834463,23.5922809623062,30.8578043179999,4.17345220565444,2.08383948972059,2.25275701385527,14.6955044711574,7.34660489289021,9.87817577736757,56.1996112385654,11.5729610897698,9.91545055585866,349.393126191058,14.5688683944064,41.0082551965859,0,495.244594832996,10.8023514787334,1423.02651052132,2.05743649878082,112.202362631697,172.778722191717,40.6129976087284,0,0,544.708229720155,1188.6859911937,22.3810155003993,2.65518445638637,3092.55680573247,107.303625090228], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.05136644995041,0,3.74028668013534,0,0,0,0,0,0,0,6.04004510025522,0,0,15.3891194359664,0,0,0,0,11.4248455691017,0,0,0,1.33429280770694,0,15.4392106289425,4.60579593481819,16.7770945695969,13.0689955338459,0,1.5619114864562,1.21560048665484,10.9441734098876,2.78866904468413,1.83309215339282,9.82691062122814,8.26742892995831,20.6391458813665,0,863.957797238512,20.8745205925942,0,341.34772727474,4.497827109094,682.79681206129,0,32.587367076002,137.33863170065,9.70334248536336,0,0,79.3631740435801,293.164553171449,8.39662136227338,1.63510012120701,1155.38329584782,460.672947216323], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.26880623026494,0,4.72841152030667,0,0,0,0,0,0,1.20555170760841,8.68067828260024,0,0,17.7944447466567,0,0,0,0,14.2811762308039,0,0,0,1.36051089122951,0,20.2233478010641,4.57060502887466,14.7591148058794,13.9728361927816,0,1.36398859500035,1.09833133840007,6.7946801141804,2.66654242775648,1.93438203440989,12.3484040238328,7.56224522992809,1.88805273828798,0,5.21790891038745,2785.45658467056,0,355.528919015584,17.2610291410896,871.976982183071,2.33036096662401,36.3052169182378,56.2086132395294,11.1760749336651,0,0,187.319682493358,452.911584652237,9.32744113825227,1.11871712705232,870.913959190201,41.2768642329944], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.01312653322739,0,0,0,0,0,0,0,0,0,2.5831625880174,0,0,4.8264298317855,0,0,0,0,4.96284001042212,0,0,0,0,0,15.5653868385199,5.10204100971029,16.5473703186321,14.6607010000827,3.08157138301323,1.53289786769265,0,1.28736537648253,0,1.44093184548122,9.45743135221299,8.35677418077844,2.03231535314056,0,8.44429339551064,2.00450596373426,94.3489336075089,407.485696725835,34.0240954942381,82.5913115199592,0,28.8218967668787,32.0069055167334,10.555695235236,0,0,50.5596506393171,124.098855264838,4.88013258847244,0,438.104785422603,32.2442608806796], [0,0,0,1.97753995641207,0,0,0,0,0,0,6.8826767092178,0,0,1.65081940295864,0,0,1.73291953562372,0,10.3642880513708,11.2311972664,4.7348972528028,1.3611943744557,1.09553197902802,14.4091018837758,2.23448056045793,1.60804874818246,178.855056464877,65.416055953227,27.1705244384126,0,9.84262347113413,24.1608413828251,2.57336255230292,0,0,35.1177557996486,257.155237838691,7.97295724184099,0,528.131555206508,31.7064876082897,0,0,0,430.729944610975,1.26701677774162,0,0,42.6284382838581,63.3327712443277,3239.58371421575,1072.00305852878,3393.0140889793,3051.29465398793,134.435996985787,313.851494720751,151.588899145077,195.13904315724,77.3111500631035,273.817498487719,1953.92443553948,1743.24434867968,308.345796352272,28.4772764298147,311.662727379036,68.334347665453,8.85532840793727,86705.6342456429,704.239945603354,3414.05031351304,25.1299921478416,3419.10327713046,3802.6257320835,924.540865636034,0,0,3793.91100241528,12776.5732119415,244.350345011473,27.4399177013337,36385.526309896,3221.89572899316], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.95166678941212,15.9651351629736,0,0,22.464127679406,1.86355014499501,0,0,0,37.2489402661747,0,0,0,4.6546317650578,0,5.26753740556553,2.22741561885143,6.86072662122342,5.03899488005605,0,0,1.41362212271973,13.1488145004547,6.56485650627259,0,4.41412544581087,4.48810158526703,1.58232759374672,0,1.05769927898362,3.22867621806875,0,90.8342543087381,6831.04104981283,88.3896781186219,2.25391103602626,64.2993431999214,112.727028420138,19.9354071592119,0,0,225.841588037908,881.931509743431,22.0867092598001,3.01667050439649,5319.63141042375,177.737842029718], [0,0,0,1.21066598436824,0,0,0,0,0,0,1.64207482568808,0,0,0,0,0,13.6788102776315,0,2.59015331984544,3.08756102228115,1.2882570435777,0,0,2.54504664789683,1.63748938331142,0,128.783685705761,9.15393333754848,404.129710221299,0,1.43997074246593,3.41526717381653,0,0,0,21.9436003588026,128.851895559235,4.91074486736009,0,893.276124394718,28.1858731784678,0,0,0,104.834168098843,0,0,0,12.5366836084871,3.98708785706333,175.950073546589,36.0283449682636,115.331804242118,111.378604833866,7.81016664390796,10.6923315350749,9.50267670204142,74.0957124895956,23.9958311593797,17.8209866994994,108.970375501384,61.1206414978135,33.9850239766075,2.73855555227002,24.0345898228625,52.1726324594253,0,2703.75087616237,39.4094888572881,75723.9241663201,6.56293546667744,301.630040858489,612.700250652857,94.8064233428352,0,0,829.427151056843,4004.88664929008,97.3044772399098,11.8166786059778,13273.4602566479,368.68005309428], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6.28501201356111,0,0,6.12735597871818,0,0,0,0,17.0912828153424,0,0,0,1.84300328903676,0,0,0,1.32541119344908,0,0,0,0,0,1.92999401194869,0,0,0,0,0,0,0,0,16.9304292211277,2.26826997564991,12.3413171112956,3026.32329698168,21.7858629837202,21.9722431075154,10.081301544711,0,0,214.949836024059,323.078291546257,6.37811362443641,0,506.47240274328,43.1448931406913], [0,0,0,9.23566569738241,0,0,0,1.63806693621496,0,0,0,0,0,0,0,5.9817909134172,10.2300854328716,0,2.25616647760304,2.09899982506619,0,0,1.21222268587103,4.57753504974027,8.07437336660902,0,40.1717719065076,15.9118853197462,28.5612442036467,3.41447281577523,319.548584198117,776.187180226377,51.6944472681695,0,0,121.300074966268,1149.31841798909,16.4435425465059,2.53743263065659,1769.53536209804,208.776705117338,0,0,0,422.394241501653,1.0495049350829,0,0,43.6022204486166,0,34.4878587713596,13.7838228182269,53.3630460077478,33.9846519001844,2.31036853450674,5.29824112885279,9.15879071459199,30.4781497047343,85.3608853043086,4.62711114834575,26.0113588296318,26.2090855689981,15.4237435478274,2.33556997601233,8.18725467871351,23.9171245863193,0,631.998791663987,137.84263780134,399.599237129431,128.129367969408,122936.236372692,58195.7045042171,4437.51647966127,0,0,4232.43076671185,16404.6092305777,250.813007454366,34.8838066679595,22126.5187079902,2844.56583894843], [0,0,0,5.47427951949497,0,0,0,0,0,0,0,0,0,0,0,0,2.29132474361086,0,1.07584241922415,1.00301170776571,0,0,0,2.54543219032099,4.63655550626295,0,18.9728986928662,7.06301064445491,8.22730637589487,1.31882097344771,7.08561949337044,19.9812257782093,2.73592743807935,0,0,35.3082792471698,246.818868154846,6.34892065529396,0,594.738158844388,98.6769516140708,0,0,0,166.626749730577,0,0,0,18.4348373087099,0,20.6169511355878,8.47067011381932,33.535600648864,20.8066154528082,1.28677813009865,3.29504364051908,4.80198404829326,10.0739900445185,48.9871121735477,2.66146225508736,15.0643570136361,15.7629784270354,12.1999939604309,0,3.87276779699542,13.7433635485087,0,419.931506006102,30.6996780659946,159.422832094025,9.42525088174598,1851.87194356888,86097.9257092016,405.239242000465,0,0,1349.40079929142,4844.43712006874,158.278241040638,24.9668383820429,10963.3416896931,1264.68641712238], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.77726136848744,1.314506790408,1.53742272410163,0,2.2603137893095,5.71758663243584,29.6288766540637,0,0,9.42833515485051,103.951119481108,2.83303271953396,0,111.935601663924,13.0310112238574,0,0,0,151.221120990625,0,0,0,16.776614622457,0,8.52581535740449,3.40055391453804,12.1164706253186,8.26256803839146,0,1.25245613302059,2.5749493998069,7.48369511796967,30.3417539751017,1.21744846537587,6.69507805000008,6.6376167454121,3.17852444835839,0,2.09063680855691,7.45508417552111,0,143.878161101842,20.4445714220008,121.450620297037,6.25494424737054,775.215069987253,1679.0281941115,35022.7290185492,0,0,979.143936365294,5452.03939849733,103.366379224331,10.8718114319039,6648.27868596807,533.746476025892], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.31648717501429,24.7715070555981,0,0,20.0642752422328,1.62761189182847,0,0,0,52.242903119021,0,0,0,5.75459566894656,0,2.86052272311048,1.15056460159224,4.19204881289122,2.75198043640344,0,0,1.12411851553726,2.2988828830648,9.36431271775871,0,2.30716786747422,2.28619086524917,1.12788185374713,0,0,2.45385413554534,0,46.9904823002373,11.2937444532282,45.1703071475293,2.45273116750921,54.7997353412829,59.7002447492377,19.0142915488636,36.9293622189585,0,347.931415700783,1687.12617026282,19.1595136669157,2.03095090019832,2486.86885013061,140.584472296476], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.68662396752579,0,0,1.36612146522334,0,0,0,0,3.55707597183739,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.19945304560167,0,3.07552231216822,0,3.73116366449696,4.06482590805732,1.2946309556321,0,2.45428174945348,23.6896957241647,114.871793170218,1.30451873130808,0,169.324078559672,9.57201109746836], [0,0,0,91.1733217420685,2.62987204857749,0,0,18.4960709247471,0,0,7.66891843193845,0,0,2.9945638133372,0,10.9928508202641,20.1214161224657,1.27373899324964,18.5563974213889,17.6001641790698,6.87278266985014,4.08757797788625,9.28400011426286,40.7574754205554,57.5246368210588,4.72613515466864,344.749015296009,216.993122536869,184.06666045355,24.9435093399307,112.342817538512,275.144580792226,47.1291017929621,2.59464258074838,0,1785.4734427292,10357.2002964684,275.064885876145,24.1248560523305,10327.259794864,752.599078184015,23.9060723332634,15.7519313344341,18.4055200161091,24373.7806352722,83.5682488879651,11.014019432956,8.31123804878323,1964.90720629265,37.4640826588173,1582.72525258679,539.770479035264,2088.98748947935,1499.89899622937,90.9628028467668,202.462298171131,500.439067122188,1168.85841097291,3192.17946299477,187.785061878158,1115.05535524336,994.812991018928,530.140250900899,153.579858550043,300.247712972447,945.445484828864,19.0548705397403,28386.7120104228,3838.16879685128,20706.8840226213,810.456739352219,36049.8166092711,34164.5875919631,11035.4726439293,5.41761988299611,0,411238.020866023,491662.834186744,7695.63689906973,928.977234780284,688448.440130151,36203.4726404725], [0,0,0,25.4700835937914,0,0,0,6.07207278731289,0,0,3.31962641476931,0,0,1.68683897924258,0,7.27325731575913,18.0601094260167,0,8.41304092427828,8.43788983043652,3.01086535000567,1.62639030570521,3.64737619857643,20.398072064656,26.8721781103276,2.1044079798116,150.184134115723,78.4714081290717,88.2546798629507,14.2056266854937,35.3417801343684,104.14356724112,20.1107016508674,1.70962366148159,0,547.816523698219,13332.7827736006,233.078335265235,15.1090636177579,6408.66464680692,541.926397701497,5.92781159242421,2.19026771052142,3.01114164876248,6722.44472172902,12.4252594849868,3.14798436196488,1.61228327282338,772.338032889255,9.88221246544959,380.099402624506,147.445876442479,568.612902497798,379.485292826779,26.8167923562374,61.5499799349605,124.037357104929,458.74705774808,1699.11709964418,51.9754991670075,288.768353358119,283.460358902861,154.3930992882,28.6067725022879,98.8101927404815,342.122073714506,5.77931595240776,6638.77003444254,1229.7726866432,6189.88256192096,339.241685722197,10007.8349850669,10377.6856935088,2815.37492404512,1.84789761012124,0,46597.5522947821,1102579.52955574,5752.70086996053,431.763906897213,253800.384136577,18544.529430787], [0,0,0,9.24771075280953,0,0,0,1.89725777098078,0,0,1.06635293998775,0,0,0,0,1.50420639816105,3.01374787459396,0,2.44149440150925,2.39855358498714,0,0,1.13161210853881,5.19075913723106,6.54943980934584,0,46.8234499049458,25.0889920963389,30.4035317645156,3.12719972976338,22.9915115478888,56.1439920980316,7.09008519486679,0,0,201.613913277701,1276.90065400267,71.9415930824635,3.15269528491642,1294.56377956932,101.548945179655,9.57502796360257,1.74253119600366,2.2536911294343,3516.08981774171,10.2085337779847,3.12722570075225,1.39115204924127,427.186738562192,8.49946152580062,314.087412609293,114.932529534758,367.863877816855,325.065967994009,42.3038206822967,54.2749263384016,89.3646346474831,129.769157634543,1288.02279325929,40.7610506876186,213.6417001016,204.952821410132,124.988754558743,22.294195202401,112.412766972438,433.437887333785,4.43753029664976,4796.7509219905,746.619592892191,3855.33704689493,197.570500744562,7930.71726646059,6562.36150740412,1823.28692628423,2.7971529982161,0,34675.0607023495,67534.5851973742,33888.0661174555,943.38694386386,103226.326058023,5990.33823235871], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.31746661921206,0,1.07394990278283,0,0,1.7164317660162,0,0,0,4.77132273162018,33.9590867377884,1.44960056767518,0,35.2916641297388,2.83255558789744,0,0,0,108.97536388205,0,0,0,13.3081048647093,0,7.26837269741798,2.69752745614251,10.1926473483331,6.93478386075952,0,1.03519684079152,1.59630291757392,3.77282598627415,22.5834290443342,0,5.23351593179507,5.02325526888461,3.99060519384754,0,1.77682582591576,7.60105969912991,0,136.657694519053,22.8646374243222,151.693019867372,4.61530527601251,246.002844681613,237.326683896721,62.6582601931631,0,0,816.773243741799,1853.55064638843,96.7230460705863,2993.00636650423,3575.44766216864,334.444294087506], [0,0,0,23.772508264489,0,0,0,4.77024595187485,0,0,4.0673936867117,0,0,1.38902656079672,0,5.02803656547773,9.60662289369897,0,9.50630696310009,9.62466273363904,3.64946650373819,2.4245842322678,3.92447706926797,20.7518226954557,20.1270790283145,2.09645032815434,179.055229410672,93.2623190379586,110.525498084289,21.2194080781276,57.6834243669262,141.172303862202,19.3526426464789,1.1116456996511,0,520.287318004167,3725.46166016631,163.892885741513,17.5773619645085,6262.42397178447,533.59303336719,15.0016016988361,4.2529649975206,5.62566875733722,9594.19296906564,24.5038154463303,13.9753943776171,2.48040873097035,1287.29330742562,39.4238951512633,1264.63859412996,587.541225380678,1707.90008318667,1228.14842634437,80.3105602951338,175.468086272649,282.053330601009,743.519657749179,1625.87180649054,229.99970953171,1182.59891814781,1248.71984358696,460.144653277943,82.7228219482987,288.407867454093,996.973914054678,27.508697256347,18127.890862556,2062.02971222473,14278.9448505572,692.455466070902,18734.3745283876,23470.805944363,5891.895574624,3.55742849622579,0,54657.7857150882,178524.213033124,5874.32231358152,664.770245947178,1800946.08021244,25825.1581087311], [0,0,0,1.30272638369058,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8.52592562216632,4.08481909101864,4.85115595628409,0,3.34797999772399,8.19956446683992,1.07398131856816,0,0,24.9881226157992,170.105287505245,8.99390490749164,0,219.617048987975,20.8039506351505,1.50546795867317,0,1.60768176793283,757.844441738206,1.3994546146854,0,0,86.9156792408392,2.00826321695141,80.8697298726938,43.8905365856608,290.720733457819,89.4381518189953,15.2889627576121,27.6461811986455,18.2080275721333,43.3226435633301,141.783107399854,9.98570161863642,56.5186165209081,76.9124381696604,28.1334903106939,3.40777055999486,36.92836377328,43.1303911603017,0,1402.34016299006,111.790395228817,621.051630522233,32.9410941743667,1147.23577641812,1324.34535722856,351.925384663088,0,0,3478.36738418764,8838.87016909714,640.957789643014,226.070251380126,33014.1508803257,91647.6170611521], ]; var chord = d3.layout.chord() .padding(.02) .sortSubgroups(d3.descending) //sort the chords inside an arc from high to low .sortChords(d3.descending) //which chord should be shown on top when chords cross. Now the biggest chord is at the bottom .matrix(matrix); var arc = d3.svg.arc() .innerRadius(innerRadius) .outerRadius(outerRadius); var path = d3.svg.chord() .radius(innerRadius); var fill = d3.scale.ordinal() .domain(d3.range(Names.length)) .range(["#9fe901","#f9fd01","#fb31dd","#7701fd","#01e8fd"]); //////////////////////////////////////////////////////////// //////////////////// Draw outer Arcs /////////////////////// //////////////////////////////////////////////////////////// var g = wrapper.selectAll("g.group") .data(chord.groups) .enter().append("g") .attr("class", "group");; g.append("path") .style("stroke", function(d) { return fill(d.index); }) .style("fill", function(d) { return fill(d.index); }) .attr("d", arc); //////////////////////////////////////////////////////////// ////////////////////// Append Names //////////////////////// //////////////////////////////////////////////////////////// g.append("text") .each(function(d) { d.angle = ((d.startAngle + d.endAngle) / 2);}) .attr("dy", ".35em") .attr("class", "titles") .attr("text-anchor", function(d) { return d.angle > Math.PI ? "end" : null; }) .attr("transform", function(d,i) { var c = arc.centroid(d); return "rotate(" + (d.angle * 180 / Math.PI - 90) + ")" + "translate(" + (innerRadius + 27) + ")" + (d.angle > Math.PI ? "rotate(180)" : "") }) .text(function(d,i) { return Names[i]; }); //+ "translate(" + (innerRadius + 55) + ")" //////////////////////////////////////////////////////////// //////////////////// Draw inner chords ///////////////////// //////////////////////////////////////////////////////////// var colors = ["#3fcf73","#ead63d","#01e8fd","#fc2f2f","#843fcf"]; var chords = wrapper.selectAll("path.chord") .data(chord.chords) .enter().append("path") .attr("class", "chord") .style("stroke", "none") .style("fill", function(d,i) { return fill(d.target.index); }) .style("opacity", opacityDefault) .attr("d", path); //////////////////////////////////////////////////////////// ///////////////////////// Tooltip ////////////////////////// //////////////////////////////////////////////////////////// //Arcs g.append("title") .text(function(d, i) {return Math.round(d.value) + " total input in " + Names[i];}); //Chords chords.append("title") .text(function(d) { return [Math.round(d.source.value), " goods and service to ", Names[d.target.index], " from ", Names[d.source.index]].join(""); });