group_T1w.html 313 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta charset="UTF-8">
  6. <title></title>
  7. <style type="text/css">
  8. /* Hide data table */
  9. .csvdata {
  10. display: none;
  11. }
  12. body {
  13. font-family: helvetica;
  14. }
  15. .text-warning {
  16. font-weight: bold;
  17. color: red;
  18. }
  19. /*Primary Chart*/
  20. /*Nested divs for responsiveness*/
  21. .chart-wrapper {
  22. max-width: 800px; /*Overwritten by the JS*/
  23. min-width: 160px;
  24. margin-bottom: 20px;
  25. font-family: helvetica;
  26. }
  27. .chart-wrapper .inner-wrapper {
  28. position: relative;
  29. padding-bottom: 50%; /*Overwritten by the JS*/
  30. width: 100%;
  31. }
  32. .chart-wrapper .outer-box {
  33. position: absolute;
  34. top: 0;
  35. bottom: 0;
  36. left: 0;
  37. right: 0;
  38. }
  39. .chart-wrapper .inner-box {
  40. width: 100%;
  41. height: 100%;
  42. }
  43. .chart-wrapper text {
  44. font-family: helvetica;
  45. font-size: 13px;
  46. }
  47. .chart-wrapper .axis path,
  48. .chart-wrapper .axis line {
  49. fill: none;
  50. stroke: #888;
  51. stroke-width: 2px;
  52. shape-rendering: crispEdges;
  53. }
  54. .chart-wrapper .y.axis .tick line {
  55. stroke: lightgrey;
  56. opacity: 0.6;
  57. stroke-dasharray: 2,1;
  58. stroke-width: 1;
  59. shape-rendering: crispEdges;
  60. }
  61. .chart-wrapper .x.axis .domain {
  62. display: none;
  63. }
  64. .chart-wrapper div.tooltip {
  65. position: absolute;
  66. text-align: left;
  67. padding: 3px;
  68. font-size: 12px;
  69. background: #eee;
  70. border: 0px;
  71. border-radius: 1px;
  72. pointer-events: none;
  73. opacity: .7;
  74. z-index: 10;
  75. }
  76. /*Box Plot*/
  77. .chart-wrapper .box-plot .box {
  78. fill-opacity: .5;
  79. stroke-width: 2;
  80. }
  81. .chart-wrapper .box-plot line {
  82. stroke-width: 2px;
  83. }
  84. .chart-wrapper .box-plot circle {
  85. fill: white;
  86. stroke: black;
  87. }
  88. .chart-wrapper .box-plot .median {
  89. stroke: black;
  90. }
  91. .chart-wrapper .box-plot circle.median {
  92. /*the script makes the circles the same color as the box, you can override this in the js*/
  93. fill: white !important;
  94. }
  95. .chart-wrapper .box-plot .mean {
  96. stroke: white;
  97. stroke-dasharray: 2,1;
  98. stroke-width: 1px;
  99. }
  100. @media (max-width:500px){
  101. .chart-wrapper .box-plot circle {display: none;}
  102. }
  103. /*Violin Plot*/
  104. .chart-wrapper .violin-plot .area {
  105. shape-rendering: geometricPrecision;
  106. opacity: 0.4;
  107. }
  108. .chart-wrapper .violin-plot .line {
  109. fill: none;
  110. stroke-width: 2px;
  111. shape-rendering: geometricPrecision;
  112. }
  113. /*Notch Plot*/
  114. .chart-wrapper .notch-plot .notch {
  115. fill-opacity: 0.4;
  116. stroke-width: 2;
  117. }
  118. /* Point Plots*/
  119. .chart-wrapper .points-plot .point {
  120. /*stroke: black;
  121. stroke-width: 1px;*/
  122. fill-opacity: 0.4;
  123. }
  124. .chart-wrapper .metrics-lines {
  125. stroke-width: 4px;
  126. }
  127. /* Non-Chart Styles for demo*/
  128. .chart-options {
  129. min-width: 200px;
  130. font-size: 13px;
  131. font-family: helvetica;
  132. }
  133. .chart-options button {
  134. margin: 3px;
  135. padding: 3px;
  136. font-size: 12px;
  137. }
  138. .chart-options p {
  139. display: inline;
  140. }
  141. @media (max-width:500px){
  142. .chart-options p {display: block;}
  143. }
  144. </style>
  145. <script type="text/javascript">
  146. !function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++i<u;)(t=r[i].on)&&t.apply(this,arguments);return n}var e=[],r=new c;return t.on=function(t,i){var u,o=r.get(t);return arguments.length<2?o&&o.on:(o&&(o.on=null,e=e.slice(0,u=e.indexOf(o)).concat(e.slice(u+1)),r.remove(t)),i&&e.push(r.set(t,{on:i})),n)},t}function S(){ao.event.preventDefault()}function k(){for(var n,t=ao.event;n=t.sourceEvent;)t=n;return t}function N(n){for(var t=new _,e=0,r=arguments.length;++e<r;)t[arguments[e]]=w(t);return t.of=function(e,r){return function(i){try{var u=i.sourceEvent=ao.event;i.target=n,ao.event=i,t[i.type].apply(e,r)}finally{ao.event=u}}},t}function E(n){return ko(n,Co),n}function A(n){return"function"==typeof n?n:function(){return No(n,this)}}function C(n){return"function"==typeof n?n:function(){return Eo(n,this)}}function z(n,t){function e(){this.removeAttribute(n)}function r(){this.removeAttributeNS(n.space,n.local)}function i(){this.setAttribute(n,t)}function u(){this.setAttributeNS(n.space,n.local,t)}function o(){var e=t.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}function a(){var e=t.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}return n=ao.ns.qualify(n),null==t?n.local?r:e:"function"==typeof t?n.local?a:o:n.local?u:i}function L(n){return n.trim().replace(/\s+/g," ")}function q(n){return new RegExp("(?:^|\\s+)"+ao.requote(n)+"(?:\\s+|$)","g")}function T(n){return(n+"").trim().split(/^|\s+/)}function R(n,t){function e(){for(var e=-1;++e<i;)n[e](this,t)}function r(){for(var e=-1,r=t.apply(this,arguments);++e<i;)n[e](this,r)}n=T(n).map(D);var i=n.length;return"function"==typeof t?r:e}function D(n){var t=q(n);return function(e,r){if(i=e.classList)return r?i.add(n):i.remove(n);var i=e.getAttribute("class")||"";r?(t.lastIndex=0,t.test(i)||e.setAttribute("class",L(i+" "+n))):e.setAttribute("class",L(i.replace(t," ")))}}function P(n,t,e){function r(){this.style.removeProperty(n)}function i(){this.style.setProperty(n,t,e)}function u(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(n):this.style.setProperty(n,r,e)}return null==t?r:"function"==typeof t?u:i}function U(n,t){function e(){delete this[n]}function r(){this[n]=t}function i(){var e=t.apply(this,arguments);null==e?delete this[n]:this[n]=e}return null==t?e:"function"==typeof t?i:r}function j(n){function t(){var t=this.ownerDocument,e=this.namespaceURI;return e===zo&&t.documentElement.namespaceURI===zo?t.createElement(n):t.createElementNS(e,n)}function e(){return this.ownerDocument.createElementNS(n.space,n.local)}return"function"==typeof n?n:(n=ao.ns.qualify(n)).local?e:t}function F(){var n=this.parentNode;n&&n.removeChild(this)}function H(n){return{__data__:n}}function O(n){return function(){return Ao(this,n)}}function I(n){return arguments.length||(n=e),function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}function Y(n,t){for(var e=0,r=n.length;r>e;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t<l;);return o}}function X(n,t,e){function r(){var t=this[o];t&&(this.removeEventListener(n,t,t.$),delete this[o])}function i(){var i=l(t,co(arguments));r.call(this),this.addEventListener(n,this[o]=i,i.$=e),i._=t}function u(){var t,e=new RegExp("^__on([^.]+)"+ao.requote(n)+"$");for(var r in this)if(t=r.match(e)){var i=this[r];this.removeEventListener(t[1],i,i.$),delete this[r]}}var o="__on"+n,a=n.indexOf("."),l=$;a>0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t<e&&(e=t.t),t=(n=t).n):t=n?n.n=t.n:oa=t.n;return aa=n,e}function Pn(n,t){return t-(n?Math.ceil(Math.log(n)/Math.LN10):1)}function Un(n,t){var e=Math.pow(10,3*xo(8-t));return{scale:t>8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++a<r;)37===n.charCodeAt(a)&&(o.push(n.slice(l,a)),null!=(i=ya[e=n.charAt(++a)])&&(e=n.charAt(++a)),(u=A[e])&&(e=u(t,null==i?"e"===e?" ":"0":i)),o.push(e),l=a+1);return o.push(n.slice(l,a)),o.join("")}var r=n.length;return t.parse=function(t){var r={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},i=e(r,n,t,0);if(i!=t.length)return null;"p"in r&&(r.H=r.H%12+12*r.p);var u=null!=r.Z&&va!==Hn,o=new(u?Hn:va);return"j"in r?o.setFullYear(r.y,0,r.j):"W"in r||"U"in r?("w"in r||(r.w="W"in r?1:0),o.setFullYear(r.y,0,1),o.setFullYear(r.y,0,"W"in r?(r.w+6)%7+7*r.W-(o.getDay()+5)%7:r.w+7*r.U-(o.getDay()+6)%7)):o.setFullYear(r.y,r.m,r.d),o.setHours(r.H+(r.Z/100|0),r.M+r.Z%100,r.S,r.L),u?o._:o},t.toString=function(){return n},t}function e(n,t,e,r){for(var i,u,o,a=0,l=t.length,c=e.length;l>a;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e<r;)t.set(n[e].toLowerCase(),e);return t}function $n(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+1));return r?(n.w=+r[0],e+r[0].length):-1}function Bn(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e));return r?(n.U=+r[0],e+r[0].length):-1}function Wn(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e));return r?(n.W=+r[0],e+r[0].length):-1}function Jn(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+4));return r?(n.y=+r[0],e+r[0].length):-1}function Gn(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.y=Qn(+r[0]),e+r[0].length):-1}function Kn(n,t,e){return/^[+-]\d{4}$/.test(t=t.slice(e,e+5))?(n.Z=-t,e+5):-1}function Qn(n){return n+(n>68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e<t;)n[e][0]=this(n[e][0]);return function(t){for(var e=0,r=n[e];!r[1](t);)r=n[++e];return r[0](t)}}function ft(){}function st(n,t,e){var r=e.s=n+t,i=r-n,u=r-i;e.t=n-u+(t-i)}function ht(n,t){n&&wa.hasOwnProperty(n.type)&&wa[n.type](n,t)}function pt(n,t,e){var r,i=-1,u=n.length-e;for(t.lineStart();++i<u;)r=n[i],t.point(r[0],r[1],r[2]);t.lineEnd()}function gt(n,t){var e=-1,r=n.length;for(t.polygonStart();++e<r;)pt(n[e],t,1);t.polygonEnd()}function vt(){function n(n,t){n*=Yo,t=t*Yo/2+Fo/4;var e=n-r,o=e>=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])<Uo&&xo(n[1]-t[1])<Uo}function St(n,t){n*=Yo;var e=Math.cos(t*=Yo);kt(e*Math.cos(n),e*Math.sin(n),Math.sin(t))}function kt(n,t,e){++Ea,Ca+=(n-Ca)/Ea,za+=(t-za)/Ea,La+=(e-La)/Ea}function Nt(){function n(n,i){n*=Yo;var u=Math.cos(i*=Yo),o=u*Math.cos(n),a=u*Math.sin(n),l=Math.sin(i),c=Math.atan2(Math.sqrt((c=e*l-r*a)*c+(c=r*o-t*l)*c+(c=t*a-e*o)*c),t*o+e*a+r*l);Aa+=c,qa+=c*(t+(t=o)),Ta+=c*(e+(e=a)),Ra+=c*(r+(r=l)),kt(t,e,r)}var t,e,r;ja.point=function(i,u){i*=Yo;var o=Math.cos(u*=Yo);t=o*Math.cos(i),e=o*Math.sin(i),r=Math.sin(u),ja.point=n,kt(t,e,r)}}function Et(){ja.point=St}function At(){function n(n,t){n*=Yo;var e=Math.cos(t*=Yo),o=e*Math.cos(n),a=e*Math.sin(n),l=Math.sin(t),c=i*l-u*a,f=u*o-r*l,s=r*a-i*o,h=Math.sqrt(c*c+f*f+s*s),p=r*o+i*a+u*l,g=h&&-nn(p)/h,v=Math.atan2(h,p);Da+=g*c,Pa+=g*f,Ua+=g*s,Aa+=v,qa+=v*(r+(r=o)),Ta+=v*(i+(i=a)),Ra+=v*(u+(u=l)),kt(r,i,u)}var t,e,r,i,u;ja.point=function(o,a){t=o,e=a,ja.point=n,o*=Yo;var l=Math.cos(a*=Yo);r=l*Math.cos(o),i=l*Math.sin(o),u=Math.sin(a),kt(r,i,u)},ja.lineEnd=function(){n(t,e),ja.lineEnd=Et,ja.point=St}}function Ct(n,t){function e(e,r){return e=n(e,r),t(e[0],e[1])}return n.invert&&t.invert&&(e.invert=function(e,r){return e=t.invert(e,r),e&&n.invert(e[0],e[1])}),e}function zt(){return!0}function Lt(n,t,e,r,i){var u=[],o=[];if(n.forEach(function(n){if(!((t=n.length-1)<=0)){var t,e=n[0],r=n[t];if(wt(e,r)){i.lineStart();for(var a=0;t>a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r<t;)i.n=e=n[r],e.p=i,i=e;i.n=e=n[0],e.p=i}}function Tt(n,t,e,r){this.x=n,this.z=t,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function Rt(n,t,e,r){return function(i,u){function o(t,e){var r=i(t,e);n(t=r[0],e=r[1])&&u.point(t,e)}function a(n,t){var e=i(n,t);d.point(e[0],e[1])}function l(){m.point=a,d.lineStart()}function c(){m.point=o,d.lineEnd()}function f(n,t){v.push([n,t]);var e=i(n,t);x.point(e[0],e[1])}function s(){x.lineStart(),v=[]}function h(){f(v[0][0],v[0][1]),x.lineEnd();var n,t=x.clean(),e=M.buffer(),r=e.length;if(v.pop(),g.push(v),v=null,r)if(1&t){n=e[0];var i,r=n.length-1,o=-1;if(r>0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o<r;)u.point((i=n[o])[0],i[1]);u.lineEnd()}}else r>1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)<Uo?(n.point(e,r=(r+o)/2>0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)<Uo&&(e-=i*Uo),xo(u-a)<Uo&&(u-=a*Uo),r=Ft(e,r,u,o),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),t=0),n.point(e=u,r=o),i=a},lineEnd:function(){n.lineEnd(),e=r=NaN},clean:function(){return 2-t}}}function Ft(n,t,e,r){var i,u,o=Math.sin(n-e);return xo(o)>Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]<t[0]?Fo:-Fo;i=e*u/2,r.point(-u,i),r.point(0,i),r.point(u,i)}else r.point(t[0],t[1])}function Ot(n,t){var e=n[0],r=n[1],i=[Math.sin(e),-Math.cos(e),0],u=0,o=0;ka.reset();for(var a=0,l=t.length;l>a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)<Uo,C=A||Uo>E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)<Uo?k:N):k<=b[1]&&b[1]<=N:E>Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)<Uo?i>0?0:3:xo(r[0]-e)<Uo?i>0?2:1:xo(r[1]-t)<Uo?i>0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){
  147. r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)<Uo||xo(r-h)<Uo?(r+h)/2:Math.atan2(_,b),E=n(N,k),A=E[0],C=E[1],z=A-t,L=C-e,q=M*z-m*L;(q*q/x>u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)<Uo?ce:(e.invert=function(n,t){var e=u-t;return[Math.atan2(n,e)/i,u-K(i)*Math.sqrt(n*n+e*e)]},e)}function Ne(n,t){return[n,Math.log(Math.tan(Fo/4+t/2))]}function Ee(n){var t,e=oe(n),r=e.scale,i=e.translate,u=e.clipExtent;return e.scale=function(){var n=r.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.translate=function(){var n=i.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.clipExtent=function(n){var o=u.apply(e,arguments);if(o===e){if(t=null==n){var a=Fo*r(),l=i();u([[l[0]-a,l[1]-a],[l[0]+a,l[1]+a]])}}else t&&(o=null);return o},e.clipExtent(null)}function Ae(n,t){return[Math.log(Math.tan(Fo/4+t/2)),-n]}function Ce(n){return n[0]}function ze(n){return n[1]}function Le(n){for(var t=n.length,e=[0,1],r=2,i=2;t>i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)<Uo&&xo(r-l.circle.cy)<Uo;)u=l.P,a.unshift(l),je(l),l=u;a.unshift(l),Be(l);for(var c=o;c.circle&&xo(e-c.circle.x)<Uo&&xo(r-c.circle.cy)<Uo;)o=c.N,a.push(c),je(c),c=o;a.push(c),Be(c);var f,s=a.length;for(f=1;s>f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)<Uo&&g-i>Uo?{x:s,y:xo(t-s)<Uo?e:g}:xo(i-g)<Uo&&h-r>Uo?{x:xo(e-g)<Uo?t:h,y:g}:xo(r-h)<Uo&&i-p>Uo?{x:h,y:xo(t-h)<Uo?e:p}:xo(i-p)<Uo&&r-s>Uo?{x:xo(e-p)<Uo?t:s,y:p}:null),u.site,null)),++l)}function Ve(n,t){return t.angle-n.angle}function Xe(){rr(this),this.x=this.y=this.arc=this.site=this.cy=null}function $e(n){var t=n.P,e=n.N;if(t&&e){var r=t.site,i=n.site,u=e.site;if(r!==u){var o=i.x,a=i.y,l=r.x-o,c=r.y-a,f=u.x-o,s=u.y-a,h=2*(l*s-c*f);if(!(h>=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.y<M.y||y.y===M.y&&y.x<=M.x){if(!M.L){m=M.P;break}M=M.L}else{if(!M.R){m=M;break}M=M.R}ll.insert(m,y),m||(al=y)}}}}function Be(n){var t=n.circle;t&&(t.P||(al=t.N),ll.remove(t),fl.push(t),rr(t),n.circle=null)}function We(n){for(var t,e=il,r=Yt(n[0][0],n[0][1],n[1][0],n[1][1]),i=e.length;i--;)t=e[i],(!Je(t,n)||!r(t)||xo(t.a.x-t.b.x)<Uo&&xo(t.a.y-t.b.y)<Uo)&&(t.a=t.b=null,e.splice(i,1))}function Je(n,t){var e=n.b;if(e)return!0;var r,i,u=n.a,o=t[0][0],a=t[1][0],l=t[0][1],c=t[1][1],f=n.l,s=n.r,h=f.x,p=f.y,g=s.x,v=s.y,d=(h+g)/2,y=(p+v)/2;if(v===p){if(o>d||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.y<l)return}else u={x:d,y:c};e={x:d,y:l}}}else if(r=(h-g)/(v-p),i=y-r*d,-1>r||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.y<l)return}else u={x:(c-i)/r,y:c};e={x:(l-i)/r,y:l}}else if(v>p){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.x<o)return}else u={x:a,y:r*a+i};e={x:o,y:r*o+i}}return n.a=u,n.b=e,!0}function Ge(n,t){this.l=n,this.r=t,this.a=this.b=null}function Ke(n,t,e,r){var i=new Ge(n,t);return il.push(i),e&&nr(i,n,t,e),r&&nr(i,t,n,r),ul[n.i].edges.push(new tr(i,n,t)),ul[t.i].edges.push(new tr(i,t,n)),i}function Qe(n,t,e){var r=new Ge(n,null);return r.a=t,r.b=e,il.push(r),r}function nr(n,t,e,r){n.a||n.b?n.l===e?n.b=r:n.a=r:(n.a=r,n.l=t,n.r=e)}function tr(n,t,e){var r=n.a,i=n.b;this.edge=n,this.site=t,this.angle=e?Math.atan2(e.y-t.y,e.x-t.x):n.l===t?Math.atan2(i.x-r.x,r.y-i.y):Math.atan2(r.x-i.x,i.y-r.y)}function er(){this._=null}function rr(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function ir(n,t){var e=t,r=t.R,i=e.U;i?i.L===e?i.L=r:i.R=r:n._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function ur(n,t){var e=t,r=t.L,i=e.U;i?i.L===e?i.L=r:i.R=r:n._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function or(n){for(;n.L;)n=n.L;return n}function ar(n,t){var e,r,i,u=n.sort(lr).pop();for(il=[],ul=new Array(n.length),ol=new er,ll=new er;;)if(i=al,u&&(!i||u.y<i.y||u.y===i.y&&u.x<i.x))u.x===e&&u.y===r||(ul[u.i]=new Ye(u),He(u),e=u.x,r=u.y),u=n.pop();else{if(!i)break;Fe(i.arc)}t&&(We(t),Ze(t));var o={cells:ul,edges:il};return ol=ll=il=ul=null,o}function lr(n,t){return t.y-n.y||t.x-n.x}function cr(n,t,e){return(n.x-e.x)*(t.y-n.y)-(n.x-t.x)*(e.y-n.y)}function fr(n){return n.x}function sr(n){return n.y}function hr(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function pr(n,t,e,r,i,u){if(!n(t,e,r,i,u)){var o=.5*(e+i),a=.5*(r+u),l=t.nodes;l[0]&&pr(n,l[0],e,r,o,a),l[1]&&pr(n,l[1],o,r,i,a),l[2]&&pr(n,l[2],e,a,o,u),l[3]&&pr(n,l[3],o,a,i,u)}}function gr(n,t,e,r,i,u,o){var a,l=1/0;return function c(n,f,s,h,p){if(!(f>u||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return u<t.length&&(i=t.slice(u),a[o]?a[o]+=i:a[++o]=i),a.length<2?l[0]?(t=l[0].x,function(n){return t(n)+""}):function(){return t}:(t=l.length,function(n){for(var e,r=0;t>r;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]<e[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,i*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-e[0],e[1]))*Zo,this.translate=[n.e,n.f],this.scale=[r,u],this.skew=u?Math.atan2(i,u)*Zo:0}function Fr(n,t){return n[0]*t[0]+n[1]*t[1]}function Hr(n){var t=Math.sqrt(Fr(n,n));return t&&(n[0]/=t,n[1]/=t),t}function Or(n,t,e){return n[0]+=e*t[0],n[1]+=e*t[1],n}function Ir(n){return n.length?n.pop()+",":""}function Yr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push("translate(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else(t[0]||t[1])&&e.push("translate("+t+")")}function Zr(n,t,e,r){n!==t?(n-t>180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i<u;)e[(t=r[i]).i]=t.x(n);return e.join("")}}function Br(n,t){return t=(t-=n=+n)||1/t,function(e){return(e-n)/t}}function Wr(n,t){return t=(t-=n=+n)||1/t,function(e){return Math.max(0,Math.min(1,(e-n)/t))}}function Jr(n){for(var t=n.source,e=n.target,r=Kr(t,e),i=[t];t!==r;)t=t.parent,i.push(t);for(var u=i.length;e!==r;)i.splice(u,0,e),e=e.parent;return i}function Gr(n){for(var t=[],e=n.parent;null!=e;)t.push(n),n=e,e=e.parent;return t.push(n),t}function Kr(n,t){if(n===t)return n;for(var e=Gr(n),r=Gr(t),i=e.pop(),u=r.pop(),o=null;i===u;)o=i,i=e.pop(),u=r.pop();return o}function Qr(n){n.fixed|=2}function ni(n){n.fixed&=-7}function ti(n){n.fixed|=4,n.px=n.x,n.py=n.y}function ei(n){n.fixed&=-5}function ri(n,t,e){var r=0,i=0;if(n.charge=0,!n.leaf)for(var u,o=n.nodes,a=o.length,l=-1;++l<a;)u=o[l],null!=u&&(ri(u,t,e),n.charge+=u.charge,r+=u.charge*u.cx,i+=u.charge*u.cy);if(n.point){n.leaf||(n.point.x+=Math.random()-.5,n.point.y+=Math.random()-.5);var c=t*e[n.point.index];n.charge+=n.pointCharge=c,r+=c*n.point.x,i+=c*n.point.y}n.cx=r/n.charge,n.cy=i/n.charge}function ii(n,t){return ao.rebind(n,t,"sort","children","value"),n.nodes=n,n.links=fi,n}function ui(n,t){for(var e=[n];null!=(n=e.pop());)if(t(n),(i=n.children)&&(r=i.length))for(var r,i;--r>=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++o<i;)e.push(u[o]);for(;null!=(n=r.pop());)t(n)}function ai(n){return n.children}function li(n){return n.value}function ci(n,t){return t.value-n.value}function fi(n){return ao.merge(n.map(function(n){return(n.children||[]).map(function(t){return{source:n,target:t}})}))}function si(n){return n.x}function hi(n){return n.y}function pi(n,t,e){n.y0=t,n.y=e}function gi(n){return ao.range(n.length)}function vi(n){for(var t=-1,e=n[0].length,r=[];++t<e;)r[t]=0;return r}function di(n){for(var t,e=1,r=0,i=n[0][1],u=n.length;u>e;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.r<r.r?Si(r,i=a):Si(r=l,i),o--):(wi(r,u),i=u,t(u))}var y=(f+s)/2,m=(h+p)/2,M=0;for(o=0;c>o;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u<o;)Ci(i[u],t,e,r)}function zi(n,t,e){var r=n.r+e.r,i=t.x-n.x,u=t.y-n.y;if(r&&(i||u)){var o=t.r+e.r,a=i*i+u*u;o*=o,r*=r;var l=.5+(r-o)/(2*a),c=Math.sqrt(Math.max(0,2*o*(r+a)-(r-=a)*r-o*o))/(2*a);e.x=n.x+l*i+c*u,e.y=n.y+l*u-c*i}else e.x=n.x+r,e.y=n.y}function Li(n,t){return n.parent==t.parent?1:2}function qi(n){var t=n.children;return t.length?t[0]:n.t}function Ti(n){var t,e=n.children;return(t=e.length)?e[t-1]:n.t}function Ri(n,t,e){var r=e/(t.i-n.i);t.c-=r,t.s+=e,n.c+=r,t.z+=e,t.m+=e}function Di(n){for(var t,e=0,r=0,i=n.children,u=i.length;--u>=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++o<=a;)i.push(e(n[o-1],n[o])),u.push(r(t[o-1],t[o]));return function(t){var e=ao.bisect(n,t,1,a)-1;return u[e](i[e](t))}}function Wi(n,t,e,r){function i(){var i=Math.min(n.length,t.length)>2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++<f;)for(var h=s-1;h>0;h--)o.push(u(c)*h);for(c=0;o[c]<a;c++);for(f=o.length;o[f-1]>l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++o<a;)i.has(u=r[o])||i.set(u,n.push(u));return e[t.t].apply(e,t.a)},e.range=function(n){return arguments.length?(u=n,o=0,t={t:"range",a:arguments},e):u},e.rangePoints=function(i,a){arguments.length<2&&(a=0);var l=i[0],c=i[1],f=n.length<2?(l=(l+c)/2,0):(c-l)/(n.length-1+a);return u=r(l+f*a/2,f),o=0,t={t:"rangePoints",a:arguments},e},e.rangeRoundPoints=function(i,a){arguments.length<2&&(a=0);var l=i[0],c=i[1],f=n.length<2?(l=c=Math.round((l+c)/2),0):(c-l)/(n.length-1+a)|0;return u=r(l+Math.round(f*a/2+(c-l-(n.length-1+a)*f)/2),f),o=0,t={t:"rangeRoundPoints",a:arguments},e},e.rangeBands=function(i,a,l){arguments.length<2&&(a=0),arguments.length<3&&(l=a);var c=i[1]<i[0],f=i[c-0],s=i[1-c],h=(s-f)/(n.length-a+2*l);return u=r(f+h*l,h),c&&u.reverse(),o=h*(1-a),t={t:"rangeBands",a:arguments},e},e.rangeRoundBands=function(i,a,l){arguments.length<2&&(a=0),arguments.length<3&&(l=a);var c=i[1]<i[0],f=i[c-0],s=i[1-c],h=Math.floor((s-f)/(n.length-a+2*l));return u=r(f+Math.round((s-f-(n.length-a)*h)/2),h),c&&u.reverse(),o=Math.round(h*(1-a)),t={t:"rangeRoundBands",a:arguments},e},e.rangeBand=function(){return o},e.rangeExtent=function(){return Yi(t.a[0])},e.copy=function(){return ou(n,t)},e.domain(n)}function au(n,t){function u(){var e=0,r=t.length;for(a=[];++e<r;)a[e-1]=ao.quantile(n,e/r);return o}function o(n){return isNaN(n=+n)?void 0:t[ao.bisect(a,n)]}var a;return o.domain=function(t){return arguments.length?(n=t.map(r).filter(i).sort(e),u()):n},o.range=function(n){return arguments.length?(t=n,u()):t},o.quantiles=function(){return a},o.invertExtent=function(e){return e=t.indexOf(e),0>e?[NaN,NaN]:[e>0?a[e-1]:n[0],e<a.length?a[e]:n[n.length-1]]},o.copy=function(){return au(n,t)},u()}function lu(n,t,e){function r(t){return e[Math.max(0,Math.min(o,Math.floor(u*(t-n))))]}function i(){return u=e.length/(t-n),o=e.length-1,r}var u,o;return r.domain=function(e){return arguments.length?(n=+e[0],t=+e[e.length-1],i()):[n,t]},r.range=function(n){return arguments.length?(e=n,i()):e},r.invertExtent=function(t){return t=e.indexOf(t),t=0>t?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s<h;)i.call(this,l=t[s],s)?f.push([+p.call(this,l,s),+g.call(this,l,s)]):f.length&&(o(),f=[]);return f.length&&o(),c.length?c.join(""):null}var e=Ce,r=ze,i=zt,u=xu,o=u.key,a=.7;return t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t.defined=function(n){return arguments.length?(i=n,t):i},t.interpolate=function(n){return arguments.length?(o="function"==typeof n?u=n:(u=Tl.get(n)||xu).key,t):o},t.tension=function(n){return arguments.length?(a=n,t):a},t}function xu(n){return n.length>1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("H",(r[0]+(r=n[t])[0])/2,"V",r[1]);return e>1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("V",(r=n[t])[1],"H",r[0]);return i.join("")}function Su(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("H",(r=n[t])[0],"V",r[1]);return i.join("")}function ku(n,t){return n.length<4?xu(n):n[1]+Au(n.slice(1,-1),Cu(n,t))}function Nu(n,t){return n.length<3?bu(n):n[0]+Au((n.push(n[0]),n),Cu([n[n.length-2]].concat(n,[n[1]]),t))}function Eu(n,t){return n.length<3?xu(n):n[0]+Au(n,Cu(n,t))}function Au(n,t){if(t.length<1||n.length!=t.length&&n.length!=t.length+2)return xu(n);var e=n.length!=t.length,r="",i=n[0],u=n[1],o=t[0],a=o,l=1;if(e&&(r+="Q"+(u[0]-2*o[0]/3)+","+(u[1]-2*o[1]/3)+","+u[0]+","+u[1],i=n[1],l=2),t.length>1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c<t.length;c++,l++)u=n[l],a=t[c],r+="S"+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1]}if(e){var f=n[l];r+="Q"+(u[0]+2*a[0]/3)+","+(u[1]+2*a[1]/3)+","+f[0]+","+f[1]}return r}function Cu(n,t){for(var e,r=[],i=(1-t)/2,u=n[0],o=n[1],a=1,l=n.length;++a<l;)e=u,u=o,o=n[a],r.push([i*(o[0]-e[0]),i*(o[1]-e[1])]);return r}function zu(n){if(n.length<3)return xu(n);var t=1,e=n.length,r=n[0],i=r[0],u=r[1],o=[i,i,i,(r=n[1])[0]],a=[u,u,u,r[1]],l=[i,",",u,"L",Ru(Pl,o),",",Ru(Pl,a)];for(n.push(n[e-1]);++t<=e;)r=n[t],o.shift(),o.push(r[0]),a.shift(),a.push(r[1]),Du(l,o,a);return n.pop(),l.push("L",r),l.join("")}function Lu(n){if(n.length<4)return xu(n);for(var t,e=[],r=-1,i=n.length,u=[0],o=[0];++r<3;)t=n[r],u.push(t[0]),o.push(t[1]);for(e.push(Ru(Pl,u)+","+Ru(Pl,o)),--r;++r<i;)t=n[r],u.shift(),u.push(t[0]),o.shift(),o.push(t[1]),Du(e,u,o);return e.join("")}function qu(n){for(var t,e,r=-1,i=n.length,u=i+4,o=[],a=[];++r<4;)e=n[r%i],o.push(e[0]),a.push(e[1]);for(t=[Ru(Pl,o),",",Ru(Pl,a)],--r;++r<u;)e=n[r%i],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),Du(t,o,a);return t.join("")}function Tu(n,t){var e=n.length-1;if(e)for(var r,i,u=n[0][0],o=n[0][1],a=n[e][0]-u,l=n[e][1]-o,c=-1;++c<=e;)r=n[c],i=c/e,r[0]=t*r[0]+(1-t)*(u+i*a),r[1]=t*r[1]+(1-t)*(o+i*l);return zu(n)}function Ru(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}function Du(n,t,e){n.push("C",Ru(Rl,t),",",Ru(Rl,e),",",Ru(Dl,t),",",Ru(Dl,e),",",Ru(Pl,t),",",Ru(Pl,e))}function Pu(n,t){return(t[1]-n[1])/(t[0]-n[0])}function Uu(n){for(var t=0,e=n.length-1,r=[],i=n[0],u=n[1],o=r[0]=Pu(i,u);++t<e;)r[t]=(o+(o=Pu(i=u,u=n[t+1])))/2;return r[t]=o,r}function ju(n){for(var t,e,r,i,u=[],o=Uu(n),a=-1,l=n.length-1;++a<l;)t=Pu(n[a],n[a+1]),xo(t)<Uo?o[a]=o[a+1]=0:(e=o[a]/t,r=o[a+1]/t,i=e*e+r*r,i>9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i<u;)t=n[i],e=t[0],r=t[1]-Io,t[0]=e*Math.cos(r),t[1]=e*Math.sin(r);return n}function Ou(n){function t(t){function l(){v.push("M",a(n(y),s),f,c(n(d.reverse()),s),"Z")}for(var h,p,g,v=[],d=[],y=[],m=-1,M=t.length,x=En(e),b=En(i),_=e===r?function(){
  148. return p}:En(r),w=i===u?function(){return g}:En(u);++m<M;)o.call(this,h=t[m],m)?(d.push([p=+x.call(this,h,m),g=+b.call(this,h,m)]),y.push([+_.call(this,h,m),+w.call(this,h,m)])):d.length&&(l(),d=[],y=[]);return d.length&&l(),v.length?v.join(""):null}var e=Ce,r=Ce,i=0,u=ze,o=zt,a=xu,l=a.key,c=a,f="L",s=.7;return t.x=function(n){return arguments.length?(e=r=n,t):r},t.x0=function(n){return arguments.length?(e=n,t):e},t.x1=function(n){return arguments.length?(r=n,t):r},t.y=function(n){return arguments.length?(i=u=n,t):u},t.y0=function(n){return arguments.length?(i=n,t):i},t.y1=function(n){return arguments.length?(u=n,t):u},t.defined=function(n){return arguments.length?(o=n,t):o},t.interpolate=function(n){return arguments.length?(l="function"==typeof n?a=n:(a=Tl.get(n)||xu).key,c=a.reverse||a,f=a.closed?"M":"L",t):l},t.tension=function(n){return arguments.length?(s=n,t):s},t}function Iu(n){return n.radius}function Yu(n){return[n.x,n.y]}function Zu(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]-Io;return[e*Math.cos(r),e*Math.sin(r)]}}function Vu(){return 64}function Xu(){return"circle"}function $u(n){var t=Math.sqrt(n/Fo);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function Bu(n){return function(){var t,e,r;(t=this[n])&&(r=t[e=t.active])&&(r.timer.c=null,r.timer.t=NaN,--t.count?delete t[e]:delete this[n],t.active+=.5,r.event&&r.event.interrupt.call(this,this.__data__,r.index))}}function Wu(n,t,e){return ko(n,Yl),n.namespace=t,n.id=e,n}function Ju(n,t,e,r){var i=n.id,u=n.namespace;return Y(n,"function"==typeof e?function(n,o,a){n[u][i].tween.set(t,r(e.call(n,n.__data__,o,a)))}:(e=r(e),function(n){n[u][i].tween.set(t,e)}))}function Gu(n){return null==n&&(n=""),function(){this.textContent=n}}function Ku(n){return null==n?"__transition__":"__transition_"+n+"__"}function Qu(n,t,e,r,i){function u(n){var t=v.delay;return f.t=t+l,n>=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]<Kl[u]/i?u-1:u]:[tc,Ki(n,e)[2]]}return r.invert=function(t){return io(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain(t),r):n.domain().map(io)},r.nice=function(n,t){function e(e){return!isNaN(e)&&!n.range(e,io(+e+1),t).length}var u=r.domain(),o=Yi(u),a=null==n?i(o,10):"number"==typeof n&&i(o,n);return a&&(n=a[0],t=a[1]),r.domain(Xi(u,t>1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i<u;)if(null!=(r=n[i])&&r>=r){e=r;break}for(;++i<u;)null!=(r=n[i])&&e>r&&(e=r)}else{for(;++i<u;)if(null!=(r=t.call(n,n[i],i))&&r>=r){e=r;break}for(;++i<u;)null!=(r=t.call(n,n[i],i))&&e>r&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i<u;)if(null!=(r=n[i])&&r>=r){e=r;break}for(;++i<u;)null!=(r=n[i])&&r>e&&(e=r)}else{for(;++i<u;)if(null!=(r=t.call(n,n[i],i))&&r>=r){e=r;break}for(;++i<u;)null!=(r=t.call(n,n[i],i))&&r>e&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u<o;)if(null!=(r=n[u])&&r>=r){e=i=r;break}for(;++u<o;)null!=(r=n[u])&&(e>r&&(e=r),r>i&&(i=r))}else{for(;++u<o;)if(null!=(r=t.call(n,n[u],u))&&r>=r){e=i=r;break}for(;++u<o;)null!=(r=t.call(n,n[u],u))&&(e>r&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o<u;)i(e=+n[o])&&(r+=e);else for(;++o<u;)i(e=+t.call(n,n[o],o))&&(r+=e);return r},ao.mean=function(n,t){var e,u=0,o=n.length,a=-1,l=o;if(1===arguments.length)for(;++a<o;)i(e=r(n[a]))?u+=e:--l;else for(;++a<o;)i(e=r(t.call(n,n[a],a)))?u+=e:--l;return l?u/l:void 0},ao.quantile=function(n,t){var e=(n.length-1)*t+1,r=Math.floor(e),i=+n[r-1],u=e-r;return u?i+u*(n[r]-i):i},ao.median=function(n,t){var u,o=[],a=n.length,l=-1;if(1===arguments.length)for(;++l<a;)i(u=r(n[l]))&&o.push(u);else for(;++l<a;)i(u=r(t.call(n,n[l],l)))&&o.push(u);return o.length?ao.quantile(o.sort(e),.5):void 0},ao.variance=function(n,t){var e,u,o=n.length,a=0,l=0,c=-1,f=0;if(1===arguments.length)for(;++c<o;)i(e=r(n[c]))&&(u=e-a,a+=u/++f,l+=u*(e-a));else for(;++c<o;)i(e=r(t.call(n,n[c],c)))&&(u=e-a,a+=u/++f,l+=u*(e-a));return f>1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t<e;)for(var i,u=-1,a=r[t]=new Array(i);++u<i;)a[u]=n[u][t];return r},ao.zip=function(){return ao.transpose(arguments)},ao.keys=function(n){var t=[];for(var e in n)t.push(e);return t},ao.values=function(n){var t=[];for(var e in n)t.push(n[e]);return t},ao.entries=function(n){var t=[];for(var e in n)t.push({key:e,value:n[e]});return t},ao.merge=function(n){for(var t,e,r,i=n.length,u=-1,o=0;++u<i;)o+=n[u].length;for(e=new Array(o);--i>=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)<t;)i.push(r/u);return i},ao.map=function(n,t){var e=new c;if(n instanceof c)n.forEach(function(n,t){e.set(n,t)});else if(Array.isArray(n)){var r,i=-1,u=n.length;if(1===arguments.length)for(;++i<u;)e.set(i,n[i]);else for(;++i<u;)e.set(t.call(n,r=n[i],i),r)}else for(var o in n)e.set(o,n[o]);return e};var bo="__proto__",_o="\x00";l(c,{has:h,get:function(n){return this._[f(n)]},set:function(n,t){return this._[f(n)]=t},remove:p,keys:g,values:function(){var n=[];for(var t in this._)n.push(this._[t]);return n},entries:function(){var n=[];for(var t in this._)n.push({key:s(t),value:this._[t]});return n},size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t),this._[t])}}),ao.nest=function(){function n(t,o,a){if(a>=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p<g;)(h=d.get(l=v(f=o[p])))?h.push(f):d.set(l,[f]);return t?(f=t(),s=function(e,r){f.set(e,n(t,r,a))}):(f={},s=function(e,r){f[e]=n(t,r,a)}),d.forEach(s),f}function t(n,e){if(e>=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r<i;)n[e=arguments[r]]=M(n,t,t[e]);return n};var wo=["webkit","ms","moz","Moz","o","O"];ao.dispatch=function(){for(var n=new _,t=-1,e=arguments.length;++t<e;)n[arguments[t]]=w(n);return n},_.prototype.on=function(n,t){var e=n.indexOf("."),r="";if(e>=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o<a;){u.push(t=[]),t.parentNode=(r=this[o]).parentNode;for(var l=-1,c=r.length;++l<c;)(i=r[l])?(t.push(e=n.call(i,i.__data__,l,o)),e&&"__data__"in i&&(e.__data__=i.__data__)):t.push(null)}return E(u)},Co.selectAll=function(n){var t,e,r=[];n=C(n);for(var i=-1,u=this.length;++i<u;)for(var o=this[i],a=-1,l=o.length;++a<l;)(e=o[a])&&(r.push(t=co(n.call(e,e.__data__,a,i))),t.parentNode=e);return E(r)};var zo="http://www.w3.org/1999/xhtml",Lo={svg:"http://www.w3.org/2000/svg",xhtml:zo,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};ao.ns={prefix:Lo,qualify:function(n){var t=n.indexOf(":"),e=n;return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++i<r;)if(!t.contains(n[i]))return!1}else for(t=e.getAttribute("class");++i<r;)if(!q(n[i]).test(t))return!1;return!0}for(t in n)this.each(R(t,n[t]));return this}return this.each(R(n,t))},Co.style=function(n,e,r){var i=arguments.length;if(3>i){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++r<o;)(i=n[r])&&(y.has(d=t.call(i,i.__data__,r))?v[r]=i:y.set(d,i),m[r]=d);for(r=-1;++r<s;)(i=y.get(d=t.call(e,u=e[r],r)))?i!==!0&&(p[r]=i,i.__data__=u):g[r]=H(u),y.set(d,!0);for(r=-1;++r<o;)r in m&&y.get(m[r])!==!0&&(v[r]=n[r])}else{for(r=-1;++r<h;)i=n[r],u=e[r],i?(i.__data__=u,p[r]=i):g[r]=H(u);for(;s>r;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++u<o;)(i=r[u])&&(n[u]=i.__data__);return n}var a=Z([]),l=E([]),f=E([]);if("function"==typeof n)for(;++u<o;)e(r=this[u],n.call(r,r.parentNode.__data__,u));else for(;++u<o;)e(r=this[u],n);return l.enter=function(){return a},l.exit=function(){return f},l},Co.datum=function(n){return arguments.length?this.property("__data__",n):this.property("__data__")},Co.filter=function(n){var t,e,r,i=[];"function"!=typeof n&&(n=O(n));for(var u=0,o=this.length;o>u;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n<t;)for(var e,r=this[n],i=r.length-1,u=r[i];--i>=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++t<e;)this[t].sort(n);return this.order()},Co.each=function(n){return Y(this,function(t,e,r){n.call(t,t.__data__,e,r)})},Co.call=function(n){var t=co(arguments);return n.apply(t[0]=this,t),this},Co.empty=function(){return!this.node()},Co.node=function(){for(var n=0,t=this.length;t>n;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++a<l;){r=(i=this[a]).update,o.push(t=[]),t.parentNode=i.parentNode;for(var c=-1,f=i.length;++c<f;)(u=i[c])?(t.push(r[c]=e=n.call(i.parentNode,u.__data__,c,a)),e.__data__=u.__data__):t.push(null)}return E(o)},qo.insert=function(n,t){return arguments.length<2&&(t=V(this)),Co.insert.call(this,n,t)},ao.select=function(t){var e;return"string"==typeof t?(e=[No(t,fo)],e.parentNode=fo.documentElement):(e=[t],e.parentNode=n(t)),E([e])},ao.selectAll=function(n){var t;return"string"==typeof n?(t=co(Eo(n,fo)),t.parentNode=fo.documentElement):(t=co(n),t.parentNode=null),E([t])},Co.on=function(n,t,e){var r=arguments.length;if(3>r){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++<c;)if(34===n.charCodeAt(e)){if(34!==n.charCodeAt(e+1))break;++e}f=e+2;var r=n.charCodeAt(e+1);return 13===r?(i=!0,10===n.charCodeAt(e+2)&&++f):10===r&&(i=!0),n.slice(t+1,e).replace(/""/g,'"')}for(;c>f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],
  149. shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++r<i;)ht(e[r].geometry,t)}},wa={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)n=e[r],t.point(n[0],n[1],n[2])},LineString:function(n,t){pt(n.coordinates,t,0)},MultiLineString:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)pt(e[r],t,0)},Polygon:function(n,t){gt(n.coordinates,t)},MultiPolygon:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)gt(e[r],t)},GeometryCollection:function(n,t){for(var e=n.geometries,r=-1,i=e.length;++r<i;)ht(e[r],t)}};ao.geo.area=function(n){return Sa=0,ao.geo.stream(n,Na),Sa};var Sa,ka=new ft,Na={sphere:function(){Sa+=4*Fo},point:b,lineStart:b,lineEnd:b,polygonStart:function(){ka.reset(),Na.lineStart=vt},polygonEnd:function(){var n=2*ka;Sa+=0>n?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}var f,s,h,p,g,v,d,y,m,M,x,b={point:n,lineStart:e,lineEnd:r,polygonStart:function(){b.point=i,b.lineStart=u,b.lineEnd=o,m=0,Na.polygonStart()},polygonEnd:function(){Na.polygonEnd(),b.point=n,b.lineStart=e,b.lineEnd=r,0>ka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t<f.length-h;++t)p.push(n[a[f[t]][2]]);return p}var e=Ce,r=ze;return arguments.length?t(n):(t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t)},ao.geom.polygon=function(n){return ko(n,rl),n};var rl=ao.geom.polygon.prototype=[];rl.area=function(){for(var n,t=-1,e=this.length,r=this[e-1],i=0;++t<e;)n=r,r=this[t],i+=n[1]*r[0]-n[0]*r[1];return.5*i},rl.centroid=function(n){var t,e,r=-1,i=this.length,u=0,o=0,a=this[i-1];for(arguments.length||(n=-1/(6*this.area()));++r<i;)t=a,a=this[r],e=t[0]*a[1]-a[0]*t[1],u+=(t[0]+a[0])*e,o+=(t[1]+a[1])*e;return[u*n,o*n]},rl.clip=function(n){for(var t,e,r,i,u,o,a=De(n),l=-1,c=this.length-De(this),f=this[c-1];++l<c;){for(t=n.slice(),n.length=0,i=this[l],u=t[(r=t.length-a)-1],e=-1;++e<r;)o=t[e],Te(o,f,i)?(Te(u,f,i)||n.push(Re(u,o,f,i)),n.push(o)):Te(u,f,i)&&n.push(Re(u,o,f,i)),u=o;a&&n.push(n[0]),f=i}return n};var il,ul,ol,al,ll,cl=[],fl=[];Ye.prototype.prepare=function(){for(var n,t=this.edges,e=t.length;e--;)n=t[e].edge,n.b&&n.a||t.splice(e,1);return t.sort(Ve),t.length},tr.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},er.prototype={insert:function(n,t){var e,r,i;if(n){if(t.P=n,t.N=n.N,n.N&&(n.N.P=t),n.N=t,n.R){for(n=n.R;n.L;)n=n.L;n.L=t}else n.R=t;e=n}else this._?(n=or(this._),t.P=null,t.N=n,n.P=n.L=t,e=n):(t.P=t.N=null,this._=t,e=null);for(t.L=t.R=null,t.U=e,t.C=!0,n=t;e&&e.C;)r=e.U,e===r.L?(i=r.R,i&&i.C?(e.C=i.C=!1,r.C=!0,n=r):(n===e.R&&(ir(this,e),n=e,e=n.U),e.C=!1,r.C=!0,ur(this,r))):(i=r.L,i&&i.C?(e.C=i.C=!1,r.C=!0,n=r):(n===e.L&&(ur(this,e),n=e,e=n.U),e.C=!1,r.C=!0,ir(this,r))),e=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var t,e,r,i=n.U,u=n.L,o=n.R;if(e=u?o?or(o):u:o,i?i.L===n?i.L=e:i.R=e:this._=e,u&&o?(r=e.C,e.C=n.C,e.L=u,u.U=e,e!==o?(i=e.U,e.U=n.U,n=e.R,i.L=n,e.R=o,o.U=e):(e.U=i,i=e,n=e.R)):(r=n.C,n=e),n&&(n.U=i),!r){if(n&&n.C)return void(n.C=!1);do{if(n===this._)break;if(n===i.L){if(t=i.R,t.C&&(t.C=!1,i.C=!0,ir(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,ur(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,ir(this,i),n=this._;break}}else if(t=i.L,t.C&&(t.C=!1,i.C=!0,ur(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,ir(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,ur(this,i),n=this._;break}t.C=!0,n=i,i=i.U}while(!n.C);n&&(n.C=!1)}}},ao.geom.voronoi=function(n){function t(n){var t=new Array(n.length),r=a[0][0],i=a[0][1],u=a[1][0],o=a[1][1];return ar(e(n),a).cells.forEach(function(e,a){var l=e.edges,c=e.site,f=t[a]=l.length?l.map(function(n){var t=n.start();return[t.x,t.y]}):c.x>=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l<c;)i=f,u=s,f=a[l].edge,s=f.l===o?f.r:f.l,r<u.i&&r<s.i&&cr(o,u,s)<0&&t.push([n[r],n[u.i],n[s.i]])}),t},t.x=function(n){return arguments.length?(u=En(r=n),t):r},t.y=function(n){return arguments.length?(o=En(i=n),t):i},t.clipExtent=function(n){return arguments.length?(a=null==n?sl:n,t):a===sl?null:a},t.size=function(n){return arguments.length?t.clipExtent(n&&[[0,0],n]):a===sl?null:a&&a[1]},t)};var sl=[[-1e6,-1e6],[1e6,1e6]];ao.geom.delaunay=function(n){return ao.geom.voronoi().triangles(n)},ao.geom.quadtree=function(n,t,e,r,i){function u(n){function u(n,t,e,r,i,u,o,a){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var l=n.x,f=n.y;if(null!=l)if(xo(l-e)+xo(f-r)<.01)c(n,t,e,r,i,u,o,a);else{var s=n.point;n.x=n.y=n.point=null,c(n,s,l,f,i,u,o,a),c(n,t,e,r,i,u,o,a)}else n.x=e,n.y=r,n.point=t}else c(n,t,e,r,i,u,o,a)}function c(n,t,e,r,i,o,a,l){var c=.5*(i+a),f=.5*(o+l),s=e>=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.x<v&&(v=f.x),f.y<d&&(d=f.y),f.x>y&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p<g;)u(k,n[p],s[p],h[p],v,d,y,m);--p}else n.forEach(k.add);return s=h=n=f=null,k}var o,a=Ce,l=ze;return(o=arguments.length)?(a=fr,l=sr,3===o&&(i=e,r=t,e=t=0),u(n)):(u.x=function(n){return arguments.length?(a=n,u):a},u.y=function(n){return arguments.length?(l=n,u):l},u.extent=function(n){return arguments.length?(null==n?t=e=r=i=null:(t=+n[0][0],e=+n[0][1],r=+n[1][0],i=+n[1][1]),u):null==t?null:[[t,e],[r,i]]},u.size=function(n){return arguments.length?(null==n?t=e=r=i=null:(t=e=0,r=+n[0],i=+n[1]),u):null==t?null:[r-t,i-e]},u)},ao.interpolateRgb=vr,ao.interpolateObject=dr,ao.interpolateNumber=yr,ao.interpolateString=mr;var hl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,pl=new RegExp(hl.source,"g");ao.interpolate=Mr,ao.interpolators=[function(n,t){var e=typeof t;return("string"===e?ua.has(t.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(t)?vr:mr:t instanceof an?vr:Array.isArray(t)?xr:"object"===e&&isNaN(t)?dr:yr)(n,t)}],ao.interpolateArray=xr;var gl=function(){return m},vl=ao.map({linear:gl,poly:Er,quad:function(){return Sr},cubic:function(){return kr},sin:function(){return Ar},exp:function(){return Cr},circle:function(){return zr},elastic:Lr,back:qr,bounce:function(){return Tr}}),dl=ao.map({"in":m,out:_r,"in-out":wr,"out-in":function(n){return wr(_r(n))}});ao.ease=function(n){var t=n.indexOf("-"),e=t>=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++e<r;)t.push(Jr(n[e]));return t}},ao.layout.chord=function(){function n(){var n,c,s,h,p,g={},v=[],d=ao.range(u),y=[];for(e=[],r=[],n=0,h=-1;++h<u;){for(c=0,p=-1;++p<u;)c+=i[h][p];v.push(c),y.push(ao.range(u)),n+=c}for(o&&d.sort(function(n,t){return o(v[n],v[t])}),a&&y.forEach(function(n,t){n.sort(function(n,e){return a(i[t][n],i[t][e])})}),n=(Ho-f*u)/n,c=0,h=-1;++h<u;){for(s=c,p=-1;++p<u;){var m=d[h],M=y[m][p],x=i[m][M],b=c,_=c+=x*n;g[m+"-"+M]={index:m,subindex:M,startAngle:b,endAngle:_,value:x}}r[m]={index:m,startAngle:s,endAngle:c,value:v[m]},c+=f}for(h=-1;++h<u;)for(p=h-1;++p<u;){var w=g[h+"-"+p],S=g[p+"-"+h];(w.value||S.value)&&e.push(w.value<S.value?{source:S,target:w}:{source:w,target:S})}l&&t()}function t(){e.sort(function(n,t){return l((n.source.value+n.target.value)/2,(t.source.value+t.target.value)/2)})}var e,r,i,u,o,a,l,c={},f=0;return c.matrix=function(n){return arguments.length?(u=(i=n)&&i.length,e=r=null,c):i},c.padding=function(n){return arguments.length?(f=n,e=r=null,c):f},c.sortGroups=function(n){return arguments.length?(o=n,e=r=null,c):o},c.sortSubgroups=function(n){return arguments.length?(a=n,e=null,c):a},c.sortChords=function(n){return arguments.length?(l=n,e&&t(),c):l},c.chords=function(){return e||n(),e},c.groups=function(){return r||n(),r},c},ao.layout.force=function(){function n(n){return function(t,e,r,i){if(t.point!==n){var u=t.cx-n.x,o=t.cy-n.y,a=i-e,l=u*u+o*o;if(l>a*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++l<f;)if(!isNaN(o=a[l][n]))return o;return Math.random()*r}var t,e,r,i=M.length,c=x.length,s=f[0],v=f[1];for(t=0;i>t;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++c<o;)n(a=u[c],e,l=a.value*r,i),e+=l}}function t(n){var e=n.children,r=0;if(e&&(i=e.length))for(var i,u=-1;++u<i;)r=Math.max(r,t(e[u]));return 1+r}function e(e,u){var o=r.call(this,e,u);return n(o[0],0,i[0],i[1]/t(o[0])),o}var r=ao.layout.hierarchy(),i=[1,1];return e.size=function(n){return arguments.length?(i=n,e):i},ii(e,r)},ao.layout.pie=function(){function n(o){var a,l=o.length,c=o.map(function(e,r){return+t.call(n,e,r)}),f=+("function"==typeof r?r.apply(this,arguments):r),s=("function"==typeof i?i.apply(this,arguments):i)-f,h=Math.min(Math.abs(s)/l,+("function"==typeof u?u.apply(this,arguments):u)),p=h*(0>s?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u<p;)o=l[u]=[],o.dx=s[u+1]-(o.x=s[u]),o.y=0;if(p>0)for(u=-1;++u<h;)a=c[u],a>=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.x<p.x&&(p=n),n.x>g.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++i<u;)r=(e=n[i]).value*(0>t?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++o<a;)(e=n[o].area)&&(u>e&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0;
  150. if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++u<o;)i=n[u],i.x=a,i.y=c,i.dy=f,a+=i.dx=Math.min(e.x+e.dx-a,f?l(i.area/f):0);i.z=!0,i.dx+=e.x+e.dx-a,e.y+=f,e.dy-=f}else{for((r||f>e.dx)&&(f=e.dx);++u<o;)i=n[u],i.x=a,i.y=c,i.dx=f,c+=i.dy=Math.min(e.y+e.dy-c,f?l(i.area/f):0);i.z=!1,i.dy+=e.y+e.dy-c,e.x+=f,e.dx-=f}}function u(r){var i=o||a(r),u=i[0];return u.x=u.y=0,u.value?(u.dx=c[0],u.dy=c[1]):u.dx=u.dy=0,o&&a.revalue(u),n([u],u.dx*u.dy/u.value),(o?e:t)(u),h&&(o=i),i}var o,a=ao.layout.hierarchy(),l=Math.round,c=[1,1],f=null,s=Oi,h=!1,p="squarify",g=.5*(1+Math.sqrt(5));return u.size=function(n){return arguments.length?(c=n,u):c},u.padding=function(n){function t(t){var e=n.call(u,t,t.depth);return null==e?Oi(t):Ii(t,"number"==typeof e?[e,e,e,e]:e)}function e(t){return Ii(t,n)}if(!arguments.length)return f;var r;return s=null==(f=n)?Oi:"function"==(r=typeof n)?t:"number"===r?(n=[n,n,n,n],e):e,u},u.round=function(n){return arguments.length?(l=n?Math.round:Number,u):l!=Number},u.sticky=function(n){return arguments.length?(h=n,o=null,u):h},u.ratio=function(n){return arguments.length?(g=n,u):g},u.mode=function(n){return arguments.length?(p=n+"",u):p},ii(u,a)},ao.random={normal:function(n,t){var e=arguments.length;return 2>e&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++a<l;){u.push(t=[]);for(var c=this[a],f=-1,s=c.length;++f<s;)(e=c[f])&&Qu(e,f,i,r,o),t.push(e)}return Wu(u,i,r)},Co.interrupt=function(n){return this.each(null==n?Il:Bu(Ku(n)))};var Hl,Ol,Il=Bu(Ku()),Yl=[],Zl=0;Yl.call=Co.call,Yl.empty=Co.empty,Yl.node=Co.node,Yl.size=Co.size,ao.transition=function(n,t){return n&&n.transition?Hl?n.transition(t):n:ao.selection().transition(n)},ao.transition.prototype=Yl,Yl.select=function(n){var t,e,r,i=this.id,u=this.namespace,o=[];n=A(n);for(var a=-1,l=this.length;++a<l;){o.push(t=[]);for(var c=this[a],f=-1,s=c.length;++f<s;)(r=c[f])&&(e=n.call(r,r.__data__,f,a))?("__data__"in r&&(e.__data__=r.__data__),Qu(e,f,u,i,r[u][i]),t.push(e)):t.push(null)}return Wu(o,u,i)},Yl.selectAll=function(n){var t,e,r,i,u,o=this.id,a=this.namespace,l=[];n=C(n);for(var c=-1,f=this.length;++c<f;)for(var s=this[c],h=-1,p=s.length;++h<p;)if(r=s[h]){u=r[a][o],e=n.call(r,r.__data__,h,c),l.push(t=[]);for(var g=-1,v=e.length;++g<v;)(i=e[g])&&Qu(i,g,a,o,u),t.push(i)}return Wu(l,a,o)},Yl.filter=function(n){var t,e,r,i=[];"function"!=typeof n&&(n=O(n));for(var u=0,o=this.length;o>u;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]<M[0])],L[1]=h[+(n[1]<M[1])]):M=null),E&&y(n,c,0)&&(r(k),t=!0),A&&y(n,f,1)&&(i(k),t=!0),t&&(e(k),w({type:"brush",mode:C?"move":"resize"}))}function y(n,t,e){var r,i,u=Zi(t),l=u[0],c=u[1],f=L[e],v=e?h:s,d=v[1]-v[0];return C&&(l-=f,c-=d+f),r=(e?g:p)?Math.max(l,Math.min(c,n[e])):n[e],C?i=(r+=f)+d:(M&&(f=Math.max(l,Math.min(c,2*M[e]-r))),r>f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}();
  151. </script>
  152. <script type="text/javascript">
  153. /**
  154. * @fileOverview A D3 based distribution chart system. Supports: Box plots, Violin plots, Notched box plots, trend lines, beeswarm plot
  155. * @version 3.0
  156. */
  157. /**
  158. * Creates a box plot, violin plot, and or notched box plot
  159. * @param settings Configuration options for the base plot
  160. * @param settings.data The data for the plot
  161. * @param settings.xName The name of the column that should be used for the x groups
  162. * @param settings.yName The name of the column used for the y values
  163. * @param {string} settings.selector The selector string for the main chart div
  164. * @param [settings.axisLabels={}] Defaults to the xName and yName
  165. * @param [settings.yTicks = 1] 1 = default ticks. 2 = double, 0.5 = half
  166. * @param [settings.scale='linear'] 'linear' or 'log' - y scale of the chart
  167. * @param [settings.chartSize={width:800, height:400}] The height and width of the chart itself (doesn't include the container)
  168. * @param [settings.margin={top: 15, right: 60, bottom: 40, left: 50}] The margins around the chart (inside the main div)
  169. * @param [settings.constrainExtremes=false] Should the y scale include outliers?
  170. * @returns {object} chart A chart object
  171. */
  172. function makeDistroChart(settings) {
  173. var chart = {};
  174. // Defaults
  175. chart.settings = {
  176. data: null,
  177. xName: null,
  178. yName: null,
  179. axisLabels: {xAxis: null, yAxis: null},
  180. labelName: "label",
  181. unitsName: "units",
  182. selector: null,
  183. axisLables: null,
  184. yTicks: 1,
  185. scale: 'linear',
  186. chartSize: {width: 800, height: 400},
  187. margin: {top: 15, right: 10, bottom: 50, left: 50},
  188. constrainExtremes: false,
  189. color: d3.scale.category10(),
  190. modality: null
  191. };
  192. for (var setting in settings) {
  193. chart.settings[setting] = settings[setting]
  194. }
  195. function formatAsFloat(d) {
  196. if (d % 1 !== 0) {
  197. return d3.format(".2f")(d);
  198. } else {
  199. return d3.format(".0f")(d);
  200. }
  201. }
  202. function logFormatNumber(d) {
  203. var x = Math.log(d) / Math.log(10) + 1e-6;
  204. return Math.abs(x - Math.floor(x)) < 0.6 ? formatAsFloat(d) : "";
  205. }
  206. chart.yFormatter = formatAsFloat;
  207. chart.data = chart.settings.data;
  208. iqmName = chart.data[0][chart.settings.xName]
  209. if (iqmName.lastIndexOf('_') > 0) {
  210. iqmName = iqmName.substr(0, iqmName.lastIndexOf('_'))
  211. }
  212. chart.settings.axisLabels.yAxis = iqmName.toUpperCase()
  213. if (iqmName.toLowerCase().startsWith('fd') || iqmName.toLowerCase().startsWith('spikes')) {
  214. chart.settings.constrainExtremes = true
  215. }
  216. units = chart.data[0][chart.settings.unitsName]
  217. if (units) {
  218. chart.settings.axisLabels.yAxis += ' (' + units + ')'
  219. }
  220. chart.groupObjs = {}; //The data organized by grouping and sorted as well as any metadata for the groups
  221. chart.objs = {mainDiv: null, chartDiv: null, g: null, xAxis: null, yAxis: null};
  222. chart.colorFunct = null;
  223. /**
  224. * Takes an array, function, or object mapping and created a color function from it
  225. * @param {function|[]|object} colorOptions
  226. * @returns {function} Function to be used to determine chart colors
  227. */
  228. function getColorFunct(colorOptions) {
  229. if (typeof colorOptions == 'function') {
  230. return colorOptions
  231. } else if (Array.isArray(colorOptions)) {
  232. // If an array is provided, map it to the domain
  233. var colorMap = {}, cColor = 0;
  234. for (var cName in chart.groupObjs) {
  235. colorMap[cName] = colorOptions[cColor];
  236. cColor = (cColor + 1) % colorOptions.length;
  237. }
  238. return function (group) {
  239. return colorMap[group];
  240. }
  241. } else if (typeof colorOptions == 'object') {
  242. // if an object is provided, assume it maps to the colors
  243. return function (group) {
  244. return colorOptions[group];
  245. }
  246. } else {
  247. return d3.scale.category10();
  248. }
  249. }
  250. /**
  251. * Takes a percentage as returns the values that correspond to that percentage of the group range witdh
  252. * @param objWidth Percentage of range band
  253. * @param gName The bin name to use to get the x shift
  254. * @returns {{left: null, right: null, middle: null}}
  255. */
  256. function getObjWidth(objWidth, gName) {
  257. var objSize = {left: null, right: null, middle: null};
  258. var width = chart.xScale.rangeBand() * (objWidth / 100);
  259. var padding = (chart.xScale.rangeBand() - width) / 2;
  260. var gShift = chart.xScale(gName);
  261. objSize.middle = chart.xScale.rangeBand() / 2 + gShift;
  262. objSize.left = padding + gShift;
  263. objSize.right = objSize.left + width;
  264. return objSize;
  265. }
  266. /**
  267. * Adds jitter to the scatter point plot
  268. * @param doJitter true or false, add jitter to the point
  269. * @param width percent of the range band to cover with the jitter
  270. * @returns {number}
  271. */
  272. function addJitter(doJitter, width) {
  273. if (doJitter !== true || width == 0) {
  274. return 0
  275. }
  276. return Math.floor(Math.random() * width) - width / 2;
  277. }
  278. function shallowCopy(oldObj) {
  279. var newObj = {};
  280. for (var i in oldObj) {
  281. if (oldObj.hasOwnProperty(i)) {
  282. newObj[i] = oldObj[i];
  283. }
  284. }
  285. return newObj;
  286. }
  287. /**
  288. * Closure that creates the tooltip hover function
  289. * @param groupName Name of the x group
  290. * @param metrics Object to use to get values for the group
  291. * @returns {Function} A function that provides the values for the tooltip
  292. */
  293. function tooltipHover(groupName, metrics) {
  294. var tooltipString = "Group: " + groupName;
  295. tooltipString += "<br\>Max: " + formatAsFloat(metrics.max, 0.1);
  296. tooltipString += "<br\>Q3: " + formatAsFloat(metrics.quartile3);
  297. tooltipString += "<br\>Median: " + formatAsFloat(metrics.median);
  298. tooltipString += "<br\>Q1: " + formatAsFloat(metrics.quartile1);
  299. tooltipString += "<br\>Min: " + formatAsFloat(metrics.min);
  300. return function () {
  301. chart.objs.tooltip.transition().duration(200).style("opacity", 0.9);
  302. chart.objs.tooltip.html(tooltipString)
  303. };
  304. }
  305. function axislabelHover(groupName) {
  306. var tooltipString = "Go to definition of " + groupName;
  307. return function () {
  308. chart.objs.tooltip.transition().duration(200).style("opacity", 1.0);
  309. chart.objs.tooltip.html(tooltipString)
  310. };
  311. }
  312. /**
  313. * Closure that creates the tooltip hover function
  314. * @param groupName Name of the x group
  315. * @param metrics Object to use to get values for the group
  316. * @returns {Function} A function that provides the values for the tooltip
  317. */
  318. function pointHover(label, value) {
  319. var tooltipString = "Subject: " + label + "<br\>Measure: " + value
  320. return function () {
  321. chart.objs.tooltip.transition().duration(200).style("opacity", 1.0);
  322. chart.objs.tooltip.html(tooltipString)
  323. };
  324. }
  325. /**
  326. * Parse the data and calculates base values for the plots
  327. */
  328. !function prepareData() {
  329. function calcMetrics(values) {
  330. // Do not reorder in-place
  331. values = values.slice(0).sort(d3.ascending)
  332. var metrics = { //These are the original non�scaled values
  333. max: null,
  334. upperOuterFence: null,
  335. upperInnerFence: null,
  336. quartile3: null,
  337. median: null,
  338. mean: null,
  339. iqr: null,
  340. quartile1: null,
  341. lowerInnerFence: null,
  342. lowerOuterFence: null,
  343. min: null
  344. };
  345. metrics.min = d3.min(values);
  346. metrics.quartile1 = d3.quantile(values, 0.25);
  347. metrics.median = d3.median(values);
  348. metrics.mean = d3.mean(values);
  349. metrics.quartile3 = d3.quantile(values, 0.75);
  350. metrics.max = d3.max(values);
  351. metrics.iqr = metrics.quartile3 - metrics.quartile1;
  352. //The inner fences are the closest value to the IQR without going past it (assumes sorted lists)
  353. var LIF = metrics.quartile1 - (1.5 * metrics.iqr);
  354. var UIF = metrics.quartile3 + (1.5 * metrics.iqr);
  355. for (var i = 0; i <= values.length; i++) {
  356. if (values[i] < LIF) {
  357. continue;
  358. }
  359. if (!metrics.lowerInnerFence && values[i] >= LIF) {
  360. metrics.lowerInnerFence = values[i];
  361. continue;
  362. }
  363. if (values[i] > UIF) {
  364. metrics.upperInnerFence = values[i - 1];
  365. break;
  366. }
  367. }
  368. metrics.lowerOuterFence = metrics.quartile1 - (3 * metrics.iqr);
  369. metrics.upperOuterFence = metrics.quartile3 + (3 * metrics.iqr);
  370. if (!metrics.lowerInnerFence) {
  371. metrics.lowerInnerFence = metrics.min;
  372. }
  373. if (!metrics.upperInnerFence) {
  374. metrics.upperInnerFence = metrics.max;
  375. }
  376. return metrics
  377. }
  378. var current_x = null;
  379. var current_y = null;
  380. var current_row;
  381. // Group the values
  382. for (current_row = 0; current_row < chart.data.length; current_row++) {
  383. current_x = chart.data[current_row][chart.settings.xName];
  384. current_y = chart.data[current_row][chart.settings.yName];
  385. current_label = chart.data[current_row][chart.settings.labelName];
  386. if (chart.groupObjs.hasOwnProperty(current_x)) {
  387. chart.groupObjs[current_x].values.push(current_y);
  388. chart.groupObjs[current_x].labels.push(current_label);
  389. } else {
  390. chart.groupObjs[current_x] = {};
  391. chart.groupObjs[current_x].values = [current_y];
  392. chart.groupObjs[current_x].labels = [current_label];
  393. }
  394. }
  395. for (var cName in chart.groupObjs) {
  396. // chart.groupObjs[cName].values.sort(d3.ascending);
  397. chart.groupObjs[cName].metrics = {};
  398. chart.groupObjs[cName].metrics = calcMetrics(chart.groupObjs[cName].values);
  399. }
  400. }();
  401. /**
  402. * Prepare the chart settings and chart div and svg
  403. */
  404. !function prepareSettings() {
  405. //Set base settings
  406. chart.margin = chart.settings.margin;
  407. chart.divWidth = chart.settings.chartSize.width;
  408. chart.divHeight = chart.settings.chartSize.height;
  409. chart.width = chart.divWidth - chart.margin.left - chart.margin.right;
  410. chart.height = chart.divHeight - chart.margin.top - chart.margin.bottom;
  411. if (chart.settings.axisLabels) {
  412. chart.xAxisLable = chart.settings.axisLabels.xAxis;
  413. chart.yAxisLable = chart.settings.axisLabels.yAxis;
  414. }
  415. if (chart.settings.scale === 'log') {
  416. chart.yScale = d3.scale.log();
  417. chart.yFormatter = logFormatNumber;
  418. } else {
  419. chart.yScale = d3.scale.linear();
  420. }
  421. if (chart.settings.constrainExtremes === true) {
  422. var fences = [];
  423. for (var cName in chart.groupObjs) {
  424. fences.push(chart.groupObjs[cName].metrics.lowerInnerFence);
  425. fences.push(chart.groupObjs[cName].metrics.upperInnerFence);
  426. }
  427. chart.range = d3.extent(fences);
  428. } else {
  429. chart.range = d3.extent(chart.data, function (d) {return d[chart.settings.yName];});
  430. }
  431. chart.colorFunct = getColorFunct(chart.settings.colors);
  432. // Build Scale functions
  433. chart.yScale.range([chart.height, 0]).domain(chart.range).nice().clamp(true);
  434. chart.xScale = d3.scale.ordinal().domain(Object.keys(chart.groupObjs)).rangeBands([0, chart.width]);
  435. //Build Axes Functions
  436. chart.objs.yAxis = d3.svg.axis()
  437. .scale(chart.yScale)
  438. .orient("left")
  439. .tickFormat(chart.yFormatter)
  440. .outerTickSize(0)
  441. .innerTickSize(-chart.width + (chart.margin.right + chart.margin.left));
  442. chart.objs.yAxis.ticks(chart.objs.yAxis.ticks()*chart.settings.yTicks);
  443. chart.objs.xAxis = d3.svg.axis().scale(chart.xScale).orient("bottom").tickSize(5);
  444. }();
  445. /**
  446. * Updates the chart based on the current settings and window size
  447. * @returns {*}
  448. */
  449. chart.update = function () {
  450. // Update chart size based on view port size
  451. chart.width = parseInt(chart.objs.chartDiv.style("width"), 10) - (chart.margin.left + chart.margin.right);
  452. chart.height = parseInt(chart.objs.chartDiv.style("height"), 10) - (chart.margin.top + chart.margin.bottom);
  453. // Update scale functions
  454. chart.xScale.rangeBands([0, chart.width]);
  455. chart.yScale.range([chart.height, 0]);
  456. // Update the yDomain if the Violin plot clamp is set to -1 meaning it will extend the violins to make nice points
  457. if (chart.violinPlots && chart.violinPlots.options.show == true && chart.violinPlots.options._yDomainVP != null) {
  458. chart.yScale.domain(chart.violinPlots.options._yDomainVP).nice().clamp(true);
  459. } else {
  460. chart.yScale.domain(chart.range).nice().clamp(true);
  461. }
  462. //Update axes
  463. chart.objs.g.select('.x.axis').attr("transform", "translate(0," + chart.height + ")").call(chart.objs.xAxis)
  464. .selectAll("text")
  465. .attr("y", 5)
  466. .attr("x", -5)
  467. .attr("transform", "rotate(-45)")
  468. .style("text-anchor", "end");
  469. chart.objs.g.select('.x.axis .label').attr("x", chart.width / 2);
  470. chart.objs.g.select('.y.axis').call(chart.objs.yAxis.innerTickSize(-chart.width));
  471. chart.objs.g.select('.y.axis .label').attr("x", -chart.height / 2);
  472. chart.objs.chartDiv.select('svg').attr("width", chart.width + (chart.margin.left + chart.margin.right)).attr("height", chart.height + (chart.margin.top + chart.margin.bottom));
  473. return chart;
  474. };
  475. /**
  476. * Prepare the chart html elements
  477. */
  478. !function prepareChart() {
  479. // Build main div and chart div
  480. chart.objs.mainDiv = d3.select(chart.settings.selector)
  481. .style("width", chart.divWidth + "px")
  482. .style("display", "inline-block");
  483. // Add all the divs to make it centered and responsive
  484. chart.objs.mainDiv.append("div")
  485. .attr("class", "inner-wrapper")
  486. .style("padding-bottom", (chart.divHeight / chart.divWidth) * 100 + "%")
  487. .append("div").attr("class", "outer-box")
  488. .append("div").attr("class", "inner-box");
  489. // Capture the inner div for the chart (where the chart actually is)
  490. chart.selector = chart.settings.selector + " .inner-box";
  491. chart.objs.chartDiv = d3.select(chart.selector);
  492. d3.select(window).on('resize.' + chart.selector, chart.update);
  493. // Create the svg
  494. chart.objs.g = chart.objs.chartDiv.append("svg")
  495. .attr("class", "chart-area")
  496. .attr("width", chart.width + (chart.margin.left + chart.margin.right))
  497. .attr("height", chart.height + (chart.margin.top + chart.margin.bottom))
  498. .append("g")
  499. .attr("transform", "translate(" + chart.margin.left + "," + chart.margin.top + ")");
  500. // Create axes
  501. chart.objs.axes = chart.objs.g.append("g").attr("class", "axis");
  502. chart.objs.axes.append("g")
  503. .attr("class", "x axis")
  504. .attr("transform", "translate(0," + chart.height + ")")
  505. .call(chart.objs.xAxis);
  506. chart.objs.axes.append("g")
  507. .attr("class", "y axis")
  508. .call(chart.objs.yAxis)
  509. .append("text")
  510. //.attr("class", "label")
  511. .attr("transform", "rotate(-90)")
  512. //.attr("y", -42)
  513. .attr("y", 6)
  514. .attr("dy", ".71em")
  515. //.attr("x", -chart.height / 2)
  516. .style("text-anchor", "end")
  517. .style("font-size", "16px")
  518. .append("a")
  519. .attr("xlink:href", function(d) {
  520. label = chart.yAxisLable.toLowerCase()
  521. charidx = label.indexOf(' ')
  522. if (charidx > 1) { label = label.substr(0, charidx); }
  523. charidx = label.indexOf('_')
  524. if (charidx > 1) { label = label.substr(0, charidx); }
  525. return "http://mriqc.readthedocs.io/en/latest/iqms/" + chart.settings.modality.toLowerCase() + ".html#iqms-" + label
  526. })
  527. .text(chart.yAxisLable)
  528. .on("mouseover", function () {
  529. chart.objs.tooltip
  530. .style("display", null)
  531. .style("left", (d3.event.pageX) + "px")
  532. .style("top", (d3.event.pageY - 28) + "px");
  533. }).on("mouseout", function () {
  534. chart.objs.tooltip.style("display", "none");
  535. }).on("mousemove", axislabelHover(chart.yAxisLable));
  536. // Create tooltip div
  537. chart.objs.tooltip = chart.objs.mainDiv.append('div').attr('class', 'tooltip');
  538. for (var cName in chart.groupObjs) {
  539. chart.groupObjs[cName].g = chart.objs.g.append("g").attr("class", "group");
  540. }
  541. chart.update();
  542. }();
  543. /**
  544. * Render a violin plot on the current chart
  545. * @param options
  546. * @param [options.showViolinPlot=true] True or False, show the violin plot
  547. * @param [options.resolution=100 default]
  548. * @param [options.bandwidth=10 default] May need higher bandwidth for larger data sets
  549. * @param [options.width=50] The max percent of the group rangeBand that the violin can be
  550. * @param [options.interpolation=''] How to render the violin
  551. * @param [options.clamp=0 default]
  552. * 0 = keep data within chart min and max, clamp once data = 0. May extend beyond data set min and max
  553. * 1 = clamp at min and max of data set. Possibly no tails
  554. * -1 = extend chart axis to make room for data to interpolate to 0. May extend axis and data set min and max
  555. * @param [options.colors=chart default] The color mapping for the violin plot
  556. * @returns {*} The chart object
  557. */
  558. chart.renderViolinPlot = function (options) {
  559. chart.violinPlots = {};
  560. var defaultOptions = {
  561. show: true,
  562. showViolinPlot: true,
  563. resolution: 100,
  564. bandwidth: 20,
  565. width: 50,
  566. interpolation: 'cardinal',
  567. clamp: 1,
  568. colors: chart.colorFunct,
  569. _yDomainVP: null // If the Violin plot is set to close all violin plots, it may need to extend the domain, that extended domain is stored here
  570. };
  571. chart.violinPlots.options = shallowCopy(defaultOptions);
  572. for (var option in options) {
  573. chart.violinPlots.options[option] = options[option]
  574. }
  575. var vOpts = chart.violinPlots.options;
  576. // Create violin plot objects
  577. for (var cName in chart.groupObjs) {
  578. chart.groupObjs[cName].violin = {};
  579. chart.groupObjs[cName].violin.objs = {};
  580. }
  581. /**
  582. * Take a new set of options and redraw the violin
  583. * @param updateOptions
  584. */
  585. chart.violinPlots.change = function (updateOptions) {
  586. if (updateOptions) {
  587. for (var key in updateOptions) {
  588. vOpts[key] = updateOptions[key]
  589. }
  590. }
  591. for (var cName in chart.groupObjs) {
  592. chart.groupObjs[cName].violin.objs.g.remove()
  593. }
  594. chart.violinPlots.prepareViolin();
  595. chart.violinPlots.update();
  596. };
  597. chart.violinPlots.reset = function () {
  598. chart.violinPlots.change(defaultOptions)
  599. };
  600. chart.violinPlots.show = function (opts) {
  601. if (opts !== undefined) {
  602. opts.show = true;
  603. if (opts.reset) {
  604. chart.violinPlots.reset()
  605. }
  606. } else {
  607. opts = {show: true};
  608. }
  609. chart.violinPlots.change(opts);
  610. };
  611. chart.violinPlots.hide = function (opts) {
  612. if (opts !== undefined) {
  613. opts.show = false;
  614. if (opts.reset) {
  615. chart.violinPlots.reset()
  616. }
  617. } else {
  618. opts = {show: false};
  619. }
  620. chart.violinPlots.change(opts);
  621. };
  622. /**
  623. * Update the violin obj values
  624. */
  625. chart.violinPlots.update = function () {
  626. var cName, cViolinPlot;
  627. for (cName in chart.groupObjs) {
  628. cViolinPlot = chart.groupObjs[cName].violin;
  629. // Build the violins sideways, so use the yScale for the xScale and make a new yScale
  630. var xVScale = chart.yScale.copy();
  631. // Create the Kernel Density Estimator Function
  632. cViolinPlot.kde = kernelDensityEstimator(eKernel(vOpts.bandwidth), xVScale.ticks(vOpts.resolution));
  633. cViolinPlot.kdedata = cViolinPlot.kde(chart.groupObjs[cName].values);
  634. var interpolateMax = chart.groupObjs[cName].metrics.max,
  635. interpolateMin = chart.groupObjs[cName].metrics.min;
  636. if (vOpts.clamp == 0 || vOpts.clamp == -1) { //
  637. // When clamp is 0, calculate the min and max that is needed to bring the violin plot to a point
  638. // interpolateMax = the Minimum value greater than the max where y = 0
  639. interpolateMax = d3.min(cViolinPlot.kdedata.filter(function (d) {
  640. return (d.x > chart.groupObjs[cName].metrics.max && d.y == 0)
  641. }), function (d) {
  642. return d.x;
  643. });
  644. // interpolateMin = the Maximum value less than the min where y = 0
  645. interpolateMin = d3.max(cViolinPlot.kdedata.filter(function (d) {
  646. return (d.x < chart.groupObjs[cName].metrics.min && d.y == 0)
  647. }), function (d) {
  648. return d.x;
  649. });
  650. // If clamp is -1 we need to extend the axises so that the violins come to a point
  651. if (vOpts.clamp == -1) {
  652. kdeTester = eKernelTest(eKernel(vOpts.bandwidth), chart.groupObjs[cName].values);
  653. if (!interpolateMax) {
  654. var interMaxY = kdeTester(chart.groupObjs[cName].metrics.max);
  655. var interMaxX = chart.groupObjs[cName].metrics.max;
  656. var count = 25; // Arbitrary limit to make sure we don't get an infinite loop
  657. while (count > 0 && interMaxY != 0) {
  658. interMaxY = kdeTester(interMaxX);
  659. interMaxX += 1;
  660. count -= 1;
  661. }
  662. interpolateMax = interMaxX;
  663. }
  664. if (!interpolateMin) {
  665. var interMinY = kdeTester(chart.groupObjs[cName].metrics.min);
  666. var interMinX = chart.groupObjs[cName].metrics.min;
  667. var count = 25; // Arbitrary limit to make sure we don't get an infinite loop
  668. while (count > 0 && interMinY != 0) {
  669. interMinY = kdeTester(interMinX);
  670. interMinX -= 1;
  671. count -= 1;
  672. }
  673. interpolateMin = interMinX;
  674. }
  675. }
  676. // Check to see if the new values are outside the existing chart range
  677. // If they are assign them to the master _yDomainVP
  678. if (!vOpts._yDomainVP) vOpts._yDomainVP = chart.range.slice(0);
  679. if (interpolateMin && interpolateMin < vOpts._yDomainVP[0]) {
  680. vOpts._yDomainVP[0] = interpolateMin;
  681. }
  682. if (interpolateMax && interpolateMax > vOpts._yDomainVP[1]) {
  683. vOpts._yDomainVP[1] = interpolateMax;
  684. }
  685. }
  686. if (vOpts.showViolinPlot) {
  687. chart.update();
  688. xVScale = chart.yScale.copy();
  689. // Need to recalculate the KDE because the xVScale changed
  690. cViolinPlot.kde = kernelDensityEstimator(eKernel(vOpts.bandwidth), xVScale.ticks(vOpts.resolution));
  691. cViolinPlot.kdedata = cViolinPlot.kde(chart.groupObjs[cName].values);
  692. }
  693. cViolinPlot.kdedata = cViolinPlot.kdedata
  694. .filter(function (d) {
  695. return (!interpolateMin || d.x >= interpolateMin)
  696. })
  697. .filter(function (d) {
  698. return (!interpolateMax || d.x <= interpolateMax)
  699. });
  700. }
  701. for (cName in chart.groupObjs) {
  702. cViolinPlot = chart.groupObjs[cName].violin;
  703. // Get the violin width
  704. var objBounds = getObjWidth(vOpts.width, cName);
  705. var width = (objBounds.right - objBounds.left) / 2;
  706. var yVScale = d3.scale.linear()
  707. .range([width, 0])
  708. .domain([0, d3.max(cViolinPlot.kdedata, function (d) {return d.y;})])
  709. .clamp(true);
  710. var area = d3.svg.area()
  711. .interpolate(vOpts.interpolation)
  712. .x(function (d) {return xVScale(d.x);})
  713. .y0(width)
  714. .y1(function (d) {return yVScale(d.y);});
  715. var line = d3.svg.line()
  716. .interpolate(vOpts.interpolation)
  717. .x(function (d) {return xVScale(d.x);})
  718. .y(function (d) {return yVScale(d.y)});
  719. if (cViolinPlot.objs.left.area) {
  720. cViolinPlot.objs.left.area
  721. .datum(cViolinPlot.kdedata)
  722. .attr("d", area);
  723. cViolinPlot.objs.left.line
  724. .datum(cViolinPlot.kdedata)
  725. .attr("d", line);
  726. cViolinPlot.objs.right.area
  727. .datum(cViolinPlot.kdedata)
  728. .attr("d", area);
  729. cViolinPlot.objs.right.line
  730. .datum(cViolinPlot.kdedata)
  731. .attr("d", line);
  732. }
  733. // Rotate the violins
  734. cViolinPlot.objs.left.g.attr("transform", "rotate(90,0,0) translate(0,-" + objBounds.left + ") scale(1,-1)");
  735. cViolinPlot.objs.right.g.attr("transform", "rotate(90,0,0) translate(0,-" + objBounds.right + ")");
  736. }
  737. };
  738. /**
  739. * Create the svg elements for the violin plot
  740. */
  741. chart.violinPlots.prepareViolin = function () {
  742. var cName, cViolinPlot;
  743. if (vOpts.colors) {
  744. chart.violinPlots.color = getColorFunct(vOpts.colors);
  745. } else {
  746. chart.violinPlots.color = chart.colorFunct
  747. }
  748. if (vOpts.show == false) {return}
  749. for (cName in chart.groupObjs) {
  750. cViolinPlot = chart.groupObjs[cName].violin;
  751. cViolinPlot.objs.g = chart.groupObjs[cName].g.append("g").attr("class", "violin-plot");
  752. cViolinPlot.objs.left = {area: null, line: null, g: null};
  753. cViolinPlot.objs.right = {area: null, line: null, g: null};
  754. cViolinPlot.objs.left.g = cViolinPlot.objs.g.append("g");
  755. cViolinPlot.objs.right.g = cViolinPlot.objs.g.append("g");
  756. if (vOpts.showViolinPlot !== false) {
  757. //Area
  758. cViolinPlot.objs.left.area = cViolinPlot.objs.left.g.append("path")
  759. .attr("class", "area")
  760. .style("fill", chart.violinPlots.color(cName));
  761. cViolinPlot.objs.right.area = cViolinPlot.objs.right.g.append("path")
  762. .attr("class", "area")
  763. .style("fill", chart.violinPlots.color(cName));
  764. //Lines
  765. cViolinPlot.objs.left.line = cViolinPlot.objs.left.g.append("path")
  766. .attr("class", "line")
  767. .attr("fill", 'none')
  768. .style("stroke", chart.violinPlots.color(cName));
  769. cViolinPlot.objs.right.line = cViolinPlot.objs.right.g.append("path")
  770. .attr("class", "line")
  771. .attr("fill", 'none')
  772. .style("stroke", chart.violinPlots.color(cName));
  773. }
  774. }
  775. };
  776. function kernelDensityEstimator(kernel, x) {
  777. return function (sample) {
  778. return x.map(function (x) {
  779. return {x:x, y:d3.mean(sample, function (v) {return kernel(x - v);})};
  780. });
  781. };
  782. }
  783. function eKernel(scale) {
  784. return function (u) {
  785. return Math.abs(u /= scale) <= 1 ? .75 * (1 - u * u) / scale : 0;
  786. };
  787. }
  788. // Used to find the roots for adjusting violin axis
  789. // Given an array, find the value for a single point, even if it is not in the domain
  790. function eKernelTest(kernel, array) {
  791. return function (testX) {
  792. return d3.mean(array, function (v) {return kernel(testX - v);})
  793. }
  794. }
  795. chart.violinPlots.prepareViolin();
  796. d3.select(window).on('resize.' + chart.selector + '.violinPlot', chart.violinPlots.update);
  797. chart.violinPlots.update();
  798. return chart;
  799. };
  800. /**
  801. * Render a box plot on the current chart
  802. * @param options
  803. * @param [options.show=true] Toggle the whole plot on and off
  804. * @param [options.showBox=true] Show the box part of the box plot
  805. * @param [options.showWhiskers=true] Show the whiskers
  806. * @param [options.showMedian=true] Show the median line
  807. * @param [options.showMean=false] Show the mean line
  808. * @param [options.medianCSize=3] The size of the circle on the median
  809. * @param [options.showOutliers=true] Plot outliers
  810. * @param [options.boxwidth=30] The max percent of the group rangeBand that the box can be
  811. * @param [options.lineWidth=boxWidth] The max percent of the group rangeBand that the line can be
  812. * @param [options.outlierScatter=false] Spread out the outliers so they don't all overlap (in development)
  813. * @param [options.outlierCSize=2] Size of the outliers
  814. * @param [options.colors=chart default] The color mapping for the box plot
  815. * @returns {*} The chart object
  816. */
  817. chart.renderBoxPlot = function (options) {
  818. chart.boxPlots = {};
  819. // Defaults
  820. var defaultOptions = {
  821. show: true,
  822. showBox: true,
  823. showWhiskers: true,
  824. showMedian: true,
  825. showMean: false,
  826. medianCSize: 3.5,
  827. showOutliers: true,
  828. boxWidth: 30,
  829. lineWidth: null,
  830. scatterOutliers: false,
  831. outlierCSize: 2.5,
  832. colors: chart.colorFunct,
  833. padding: 0
  834. };
  835. chart.boxPlots.options = shallowCopy(defaultOptions);
  836. for (var option in options) {
  837. chart.boxPlots.options[option] = options[option]
  838. }
  839. var bOpts = chart.boxPlots.options;
  840. //Create box plot objects
  841. for (var cName in chart.groupObjs) {
  842. chart.groupObjs[cName].boxPlot = {};
  843. chart.groupObjs[cName].boxPlot.objs = {};
  844. }
  845. /**
  846. * Calculates all the outlier points for each group
  847. */
  848. !function calcAllOutliers() {
  849. /**
  850. * Create lists of the outliers for each content group
  851. * @param cGroup The object to modify
  852. * @return null Modifies the object in place
  853. */
  854. function calcOutliers(cGroup) {
  855. var cExtremes = [];
  856. var cOutliers = [];
  857. var cOut, idx;
  858. for (idx = 0; idx <= cGroup.values.length; idx++) {
  859. cOut = {value: cGroup.values[idx]};
  860. if (cOut.value < cGroup.metrics.lowerInnerFence) {
  861. if (cOut.value < cGroup.metrics.lowerOuterFence) {
  862. cExtremes.push(cOut);
  863. } else {
  864. cOutliers.push(cOut);
  865. }
  866. } else if (cOut.value > cGroup.metrics.upperInnerFence) {
  867. if (cOut.value > cGroup.metrics.upperOuterFence) {
  868. cExtremes.push(cOut);
  869. } else {
  870. cOutliers.push(cOut);
  871. }
  872. }
  873. }
  874. cGroup.boxPlot.objs.outliers = cOutliers;
  875. cGroup.boxPlot.objs.extremes = cExtremes;
  876. }
  877. for (var cName in chart.groupObjs) {
  878. calcOutliers(chart.groupObjs[cName]);
  879. }
  880. }();
  881. /**
  882. * Take updated options and redraw the box plot
  883. * @param updateOptions
  884. */
  885. chart.boxPlots.change = function (updateOptions) {
  886. if (updateOptions) {
  887. for (var key in updateOptions) {
  888. bOpts[key] = updateOptions[key]
  889. }
  890. }
  891. for (var cName in chart.groupObjs) {
  892. chart.groupObjs[cName].boxPlot.objs.g.remove()
  893. }
  894. chart.boxPlots.prepareBoxPlot();
  895. chart.boxPlots.update()
  896. };
  897. chart.boxPlots.reset = function () {
  898. chart.boxPlots.change(defaultOptions)
  899. };
  900. chart.boxPlots.show = function (opts) {
  901. if (opts !== undefined) {
  902. opts.show = true;
  903. if (opts.reset) {
  904. chart.boxPlots.reset()
  905. }
  906. } else {
  907. opts = {show: true};
  908. }
  909. chart.boxPlots.change(opts)
  910. };
  911. chart.boxPlots.hide = function (opts) {
  912. if (opts !== undefined) {
  913. opts.show = false;
  914. if (opts.reset) {
  915. chart.boxPlots.reset()
  916. }
  917. } else {
  918. opts = {show: false};
  919. }
  920. chart.boxPlots.change(opts)
  921. };
  922. /**
  923. * Update the box plot obj values
  924. */
  925. chart.boxPlots.update = function () {
  926. var cName, cBoxPlot;
  927. for (cName in chart.groupObjs) {
  928. cBoxPlot = chart.groupObjs[cName].boxPlot;
  929. // Get the box width
  930. var objBounds = getObjWidth(bOpts.boxWidth, cName);
  931. objBounds.middle += chart.boxPlots.options.padding
  932. objBounds.right += chart.boxPlots.options.padding
  933. objBounds.left += chart.boxPlots.options.padding
  934. var width = (objBounds.right - objBounds.left);
  935. var sMetrics = {}; //temp var for scaled (plottable) metric values
  936. for (var attr in chart.groupObjs[cName].metrics) {
  937. sMetrics[attr] = null;
  938. sMetrics[attr] = chart.yScale(chart.groupObjs[cName].metrics[attr]);
  939. }
  940. // Box
  941. if (cBoxPlot.objs.box) {
  942. cBoxPlot.objs.box
  943. .attr("x", objBounds.left)
  944. .attr('width', width)
  945. .attr("y", sMetrics.quartile3)
  946. .attr("rx", 1)
  947. .attr("ry", 1)
  948. .attr("height", -sMetrics.quartile3 + sMetrics.quartile1)
  949. }
  950. // Lines
  951. var lineBounds = null;
  952. if (bOpts.lineWidth) {
  953. lineBounds = getObjWidth(bOpts.lineWidth, cName)
  954. } else {
  955. lineBounds = objBounds
  956. }
  957. // Apply padding
  958. lineBounds.middle += chart.boxPlots.options.padding
  959. lineBounds.right += chart.boxPlots.options.padding
  960. lineBounds.left += chart.boxPlots.options.padding
  961. // --Whiskers
  962. if (cBoxPlot.objs.upperWhisker) {
  963. cBoxPlot.objs.upperWhisker.fence
  964. .attr("x1", lineBounds.left)
  965. .attr("x2", lineBounds.right)
  966. .attr('y1', sMetrics.upperInnerFence)
  967. .attr("y2", sMetrics.upperInnerFence);
  968. cBoxPlot.objs.upperWhisker.line
  969. .attr("x1", lineBounds.middle)
  970. .attr("x2", lineBounds.middle)
  971. .attr('y1', sMetrics.quartile3)
  972. .attr("y2", sMetrics.upperInnerFence);
  973. cBoxPlot.objs.lowerWhisker.fence
  974. .attr("x1", lineBounds.left)
  975. .attr("x2", lineBounds.right)
  976. .attr('y1', sMetrics.lowerInnerFence)
  977. .attr("y2", sMetrics.lowerInnerFence);
  978. cBoxPlot.objs.lowerWhisker.line
  979. .attr("x1", lineBounds.middle)
  980. .attr("x2", lineBounds.middle)
  981. .attr('y1', sMetrics.quartile1)
  982. .attr("y2", sMetrics.lowerInnerFence);
  983. }
  984. // --Median
  985. if (cBoxPlot.objs.median) {
  986. cBoxPlot.objs.median.line
  987. .attr("x1", lineBounds.left)
  988. .attr("x2", lineBounds.right)
  989. .attr('y1', sMetrics.median)
  990. .attr("y2", sMetrics.median);
  991. cBoxPlot.objs.median.circle
  992. .attr("cx", lineBounds.middle)
  993. .attr("cy", sMetrics.median)
  994. }
  995. // --Mean
  996. if (cBoxPlot.objs.mean) {
  997. cBoxPlot.objs.mean.line
  998. .attr("x1", lineBounds.left)
  999. .attr("x2", lineBounds.right)
  1000. .attr('y1', sMetrics.mean)
  1001. .attr("y2", sMetrics.mean);
  1002. cBoxPlot.objs.mean.circle
  1003. .attr("cx", lineBounds.middle)
  1004. .attr("cy", sMetrics.mean);
  1005. }
  1006. // Outliers
  1007. var pt;
  1008. if (cBoxPlot.objs.outliers) {
  1009. for (pt in cBoxPlot.objs.outliers) {
  1010. cBoxPlot.objs.outliers[pt].point
  1011. .attr("cx", objBounds.middle + addJitter(bOpts.scatterOutliers, width))
  1012. .attr("cy", chart.yScale(cBoxPlot.objs.outliers[pt].value));
  1013. }
  1014. }
  1015. if (cBoxPlot.objs.extremes) {
  1016. for (pt in cBoxPlot.objs.extremes) {
  1017. cBoxPlot.objs.extremes[pt].point
  1018. .attr("cx", objBounds.middle + addJitter(bOpts.scatterOutliers, width))
  1019. .attr("cy", chart.yScale(cBoxPlot.objs.extremes[pt].value));
  1020. }
  1021. }
  1022. }
  1023. };
  1024. /**
  1025. * Create the svg elements for the box plot
  1026. */
  1027. chart.boxPlots.prepareBoxPlot = function () {
  1028. var cName, cBoxPlot;
  1029. if (bOpts.colors) {
  1030. chart.boxPlots.colorFunct = getColorFunct(bOpts.colors);
  1031. } else {
  1032. chart.boxPlots.colorFunct = chart.colorFunct
  1033. }
  1034. if (bOpts.show == false) {
  1035. return
  1036. }
  1037. for (cName in chart.groupObjs) {
  1038. cBoxPlot = chart.groupObjs[cName].boxPlot;
  1039. cBoxPlot.objs.g = chart.groupObjs[cName].g.append("g").attr("class", "box-plot");
  1040. //Plot Box (default show)
  1041. if (bOpts.showBox) {
  1042. cBoxPlot.objs.box = cBoxPlot.objs.g.append("rect")
  1043. .attr("class", "box")
  1044. .style("fill", chart.boxPlots.colorFunct(cName))
  1045. .style("stroke", chart.boxPlots.colorFunct(cName))
  1046. .on("mouseover", function () {
  1047. chart.objs.tooltip
  1048. .style("display", null)
  1049. .style("left", (d3.event.pageX) + "px")
  1050. .style("top", (d3.event.pageY - 28) + "px");
  1051. }).on("mouseout", function () {
  1052. chart.objs.tooltip.style("display", "none");
  1053. }).on("mousemove", tooltipHover(cName, chart.groupObjs[cName].metrics));
  1054. //A stroke is added to the box with the group color, it is
  1055. // hidden by default and can be shown through css with stroke-width
  1056. }
  1057. //Plot Median (default show)
  1058. if (bOpts.showMedian) {
  1059. cBoxPlot.objs.median = {line: null, circle: null};
  1060. cBoxPlot.objs.median.line = cBoxPlot.objs.g.append("line")
  1061. .attr("class", "median");
  1062. cBoxPlot.objs.median.circle = cBoxPlot.objs.g.append("circle")
  1063. .attr("class", "median")
  1064. .attr('r', bOpts.medianCSize)
  1065. .style("fill", chart.boxPlots.colorFunct(cName));
  1066. }
  1067. // Plot Mean (default no plot)
  1068. if (bOpts.showMean) {
  1069. cBoxPlot.objs.mean = {line: null, circle: null};
  1070. cBoxPlot.objs.mean.line = cBoxPlot.objs.g.append("line")
  1071. .attr("class", "mean");
  1072. cBoxPlot.objs.mean.circle = cBoxPlot.objs.g.append("circle")
  1073. .attr("class", "mean")
  1074. .attr('r', bOpts.medianCSize)
  1075. .style("fill", chart.boxPlots.colorFunct(cName));
  1076. }
  1077. // Plot Whiskers (default show)
  1078. if (bOpts.showWhiskers) {
  1079. cBoxPlot.objs.upperWhisker = {fence: null, line: null};
  1080. cBoxPlot.objs.lowerWhisker = {fence: null, line: null};
  1081. cBoxPlot.objs.upperWhisker.fence = cBoxPlot.objs.g.append("line")
  1082. .attr("class", "upper whisker")
  1083. .style("stroke", chart.boxPlots.colorFunct(cName));
  1084. cBoxPlot.objs.upperWhisker.line = cBoxPlot.objs.g.append("line")
  1085. .attr("class", "upper whisker")
  1086. .style("stroke", chart.boxPlots.colorFunct(cName));
  1087. cBoxPlot.objs.lowerWhisker.fence = cBoxPlot.objs.g.append("line")
  1088. .attr("class", "lower whisker")
  1089. .style("stroke", chart.boxPlots.colorFunct(cName));
  1090. cBoxPlot.objs.lowerWhisker.line = cBoxPlot.objs.g.append("line")
  1091. .attr("class", "lower whisker")
  1092. .style("stroke", chart.boxPlots.colorFunct(cName));
  1093. }
  1094. // Plot outliers (default show)
  1095. if (bOpts.showOutliers) {
  1096. if (!cBoxPlot.objs.outliers) calcAllOutliers();
  1097. var pt;
  1098. if (cBoxPlot.objs.outliers.length) {
  1099. var outDiv = cBoxPlot.objs.g.append("g").attr("class", "boxplot outliers");
  1100. for (pt in cBoxPlot.objs.outliers) {
  1101. cBoxPlot.objs.outliers[pt].point = outDiv.append("circle")
  1102. .attr("class", "outlier")
  1103. .attr('r', bOpts.outlierCSize)
  1104. .style("fill", chart.boxPlots.colorFunct(cName));
  1105. }
  1106. }
  1107. if (cBoxPlot.objs.extremes.length) {
  1108. var extDiv = cBoxPlot.objs.g.append("g").attr("class", "boxplot extremes");
  1109. for (pt in cBoxPlot.objs.extremes) {
  1110. cBoxPlot.objs.extremes[pt].point = extDiv.append("circle")
  1111. .attr("class", "extreme")
  1112. .attr('r', bOpts.outlierCSize)
  1113. .style("stroke", chart.boxPlots.colorFunct(cName));
  1114. }
  1115. }
  1116. }
  1117. }
  1118. };
  1119. chart.boxPlots.prepareBoxPlot();
  1120. d3.select(window).on('resize.' + chart.selector + '.boxPlot', chart.boxPlots.update);
  1121. chart.boxPlots.update();
  1122. return chart;
  1123. };
  1124. /**
  1125. * Render a notched box on the current chart
  1126. * @param options
  1127. * @param [options.show=true] Toggle the whole plot on and off
  1128. * @param [options.showNotchBox=true] Show the notch box
  1129. * @param [options.showLines=false] Show lines at the confidence intervals
  1130. * @param [options.boxWidth=35] The width of the widest part of the box
  1131. * @param [options.medianWidth=20] The width of the narrowist part of the box
  1132. * @param [options.lineWidth=50] The width of the confidence interval lines
  1133. * @param [options.notchStyle=null] null=traditional style, 'box' cuts out the whole notch in right angles
  1134. * @param [options.colors=chart default] The color mapping for the notch boxes
  1135. * @returns {*} The chart object
  1136. */
  1137. chart.renderNotchBoxes = function (options) {
  1138. chart.notchBoxes = {};
  1139. //Defaults
  1140. var defaultOptions = {
  1141. show: true,
  1142. showNotchBox: true,
  1143. showLines: false,
  1144. boxWidth: 35,
  1145. medianWidth: 20,
  1146. lineWidth: 50,
  1147. notchStyle: null,
  1148. colors: null
  1149. };
  1150. chart.notchBoxes.options = shallowCopy(defaultOptions);
  1151. for (var option in options) {
  1152. chart.notchBoxes.options[option] = options[option]
  1153. }
  1154. var nOpts = chart.notchBoxes.options;
  1155. //Create notch objects
  1156. for (var cName in chart.groupObjs) {
  1157. chart.groupObjs[cName].notchBox = {};
  1158. chart.groupObjs[cName].notchBox.objs = {};
  1159. }
  1160. /**
  1161. * Makes the svg path string for a notched box
  1162. * @param cNotch Current notch box object
  1163. * @param notchBounds objBound object
  1164. * @returns {string} A string in the proper format for a svg polygon
  1165. */
  1166. function makeNotchBox(cNotch, notchBounds) {
  1167. var scaledValues = [];
  1168. if (nOpts.notchStyle == 'box') {
  1169. scaledValues = [
  1170. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.quartile1)],
  1171. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.lowerNotch)],
  1172. [notchBounds.medianLeft, chart.yScale(cNotch.metrics.lowerNotch)],
  1173. [notchBounds.medianLeft, chart.yScale(cNotch.metrics.median)],
  1174. [notchBounds.medianLeft, chart.yScale(cNotch.metrics.upperNotch)],
  1175. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.upperNotch)],
  1176. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.quartile3)],
  1177. [notchBounds.boxRight, chart.yScale(cNotch.metrics.quartile3)],
  1178. [notchBounds.boxRight, chart.yScale(cNotch.metrics.upperNotch)],
  1179. [notchBounds.medianRight, chart.yScale(cNotch.metrics.upperNotch)],
  1180. [notchBounds.medianRight, chart.yScale(cNotch.metrics.median)],
  1181. [notchBounds.medianRight, chart.yScale(cNotch.metrics.lowerNotch)],
  1182. [notchBounds.boxRight, chart.yScale(cNotch.metrics.lowerNotch)],
  1183. [notchBounds.boxRight, chart.yScale(cNotch.metrics.quartile1)]
  1184. ];
  1185. } else {
  1186. scaledValues = [
  1187. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.quartile1)],
  1188. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.lowerNotch)],
  1189. [notchBounds.medianLeft, chart.yScale(cNotch.metrics.median)],
  1190. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.upperNotch)],
  1191. [notchBounds.boxLeft, chart.yScale(cNotch.metrics.quartile3)],
  1192. [notchBounds.boxRight, chart.yScale(cNotch.metrics.quartile3)],
  1193. [notchBounds.boxRight, chart.yScale(cNotch.metrics.upperNotch)],
  1194. [notchBounds.medianRight, chart.yScale(cNotch.metrics.median)],
  1195. [notchBounds.boxRight, chart.yScale(cNotch.metrics.lowerNotch)],
  1196. [notchBounds.boxRight, chart.yScale(cNotch.metrics.quartile1)]
  1197. ];
  1198. }
  1199. return scaledValues.map(function (d) {
  1200. return [d[0], d[1]].join(",");
  1201. }).join(" ");
  1202. }
  1203. /**
  1204. * Calculate the confidence intervals
  1205. */
  1206. !function calcNotches() {
  1207. var cNotch, modifier;
  1208. for (var cName in chart.groupObjs) {
  1209. cNotch = chart.groupObjs[cName];
  1210. modifier = (1.57 * (cNotch.metrics.iqr / Math.sqrt(cNotch.values.length)));
  1211. cNotch.metrics.upperNotch = cNotch.metrics.median + modifier;
  1212. cNotch.metrics.lowerNotch = cNotch.metrics.median - modifier;
  1213. }
  1214. }();
  1215. /**
  1216. * Take a new set of options and redraw the notch boxes
  1217. * @param updateOptions
  1218. */
  1219. chart.notchBoxes.change = function (updateOptions) {
  1220. if (updateOptions) {
  1221. for (var key in updateOptions) {
  1222. nOpts[key] = updateOptions[key]
  1223. }
  1224. }
  1225. for (var cName in chart.groupObjs) {
  1226. chart.groupObjs[cName].notchBox.objs.g.remove()
  1227. }
  1228. chart.notchBoxes.prepareNotchBoxes();
  1229. chart.notchBoxes.update();
  1230. };
  1231. chart.notchBoxes.reset = function () {
  1232. chart.notchBoxes.change(defaultOptions)
  1233. };
  1234. chart.notchBoxes.show = function (opts) {
  1235. if (opts !== undefined) {
  1236. opts.show = true;
  1237. if (opts.reset) {
  1238. chart.notchBoxes.reset()
  1239. }
  1240. } else {
  1241. opts = {show: true};
  1242. }
  1243. chart.notchBoxes.change(opts)
  1244. };
  1245. chart.notchBoxes.hide = function (opts) {
  1246. if (opts !== undefined) {
  1247. opts.show = false;
  1248. if (opts.reset) {
  1249. chart.notchBoxes.reset()
  1250. }
  1251. } else {
  1252. opts = {show: false};
  1253. }
  1254. chart.notchBoxes.change(opts)
  1255. };
  1256. /**
  1257. * Update the notch box obj values
  1258. */
  1259. chart.notchBoxes.update = function () {
  1260. var cName, cGroup;
  1261. for (cName in chart.groupObjs) {
  1262. cGroup = chart.groupObjs[cName];
  1263. // Get the box size
  1264. var boxBounds = getObjWidth(nOpts.boxWidth, cName);
  1265. var medianBounds = getObjWidth(nOpts.medianWidth, cName);
  1266. var notchBounds = {
  1267. boxLeft: boxBounds.left,
  1268. boxRight: boxBounds.right,
  1269. middle: boxBounds.middle,
  1270. medianLeft: medianBounds.left,
  1271. medianRight: medianBounds.right
  1272. };
  1273. // Notch Box
  1274. if (cGroup.notchBox.objs.notch) {
  1275. cGroup.notchBox.objs.notch
  1276. .attr("points", makeNotchBox(cGroup, notchBounds));
  1277. }
  1278. if (cGroup.notchBox.objs.upperLine) {
  1279. var lineBounds = null;
  1280. if (nOpts.lineWidth) {
  1281. lineBounds = getObjWidth(nOpts.lineWidth, cName)
  1282. } else {
  1283. lineBounds = objBounds
  1284. }
  1285. var confidenceLines = {
  1286. upper: chart.yScale(cGroup.metrics.upperNotch),
  1287. lower: chart.yScale(cGroup.metrics.lowerNotch)
  1288. };
  1289. cGroup.notchBox.objs.upperLine
  1290. .attr("x1", lineBounds.left)
  1291. .attr("x2", lineBounds.right)
  1292. .attr('y1', confidenceLines.upper)
  1293. .attr("y2", confidenceLines.upper);
  1294. cGroup.notchBox.objs.lowerLine
  1295. .attr("x1", lineBounds.left)
  1296. .attr("x2", lineBounds.right)
  1297. .attr('y1', confidenceLines.lower)
  1298. .attr("y2", confidenceLines.lower);
  1299. }
  1300. }
  1301. };
  1302. /**
  1303. * Create the svg elements for the notch boxes
  1304. */
  1305. chart.notchBoxes.prepareNotchBoxes = function () {
  1306. var cName, cNotch;
  1307. if (nOpts && nOpts.colors) {
  1308. chart.notchBoxes.colorFunct = getColorFunct(nOpts.colors);
  1309. } else {
  1310. chart.notchBoxes.colorFunct = chart.colorFunct
  1311. }
  1312. if (nOpts.show == false) {
  1313. return
  1314. }
  1315. for (cName in chart.groupObjs) {
  1316. cNotch = chart.groupObjs[cName].notchBox;
  1317. cNotch.objs.g = chart.groupObjs[cName].g.append("g").attr("class", "notch-plot");
  1318. // Plot Box (default show)
  1319. if (nOpts.showNotchBox) {
  1320. cNotch.objs.notch = cNotch.objs.g.append("polygon")
  1321. .attr("class", "notch")
  1322. .style("fill", chart.notchBoxes.colorFunct(cName))
  1323. .style("stroke", chart.notchBoxes.colorFunct(cName));
  1324. //A stroke is added to the notch with the group color, it is
  1325. // hidden by default and can be shown through css with stroke-width
  1326. }
  1327. //Plot Confidence Lines (default hide)
  1328. if (nOpts.showLines) {
  1329. cNotch.objs.upperLine = cNotch.objs.g.append("line")
  1330. .attr("class", "upper confidence line")
  1331. .style("stroke", chart.notchBoxes.colorFunct(cName));
  1332. cNotch.objs.lowerLine = cNotch.objs.g.append("line")
  1333. .attr("class", "lower confidence line")
  1334. .style("stroke", chart.notchBoxes.colorFunct(cName));
  1335. }
  1336. }
  1337. };
  1338. chart.notchBoxes.prepareNotchBoxes();
  1339. d3.select(window).on('resize.' + chart.selector + '.notchBox', chart.notchBoxes.update);
  1340. chart.notchBoxes.update();
  1341. return chart;
  1342. };
  1343. /**
  1344. * Render a raw data in various forms
  1345. * @param options
  1346. * @param [options.show=true] Toggle the whole plot on and off
  1347. * @param [options.showPlot=false] True or false, show points
  1348. * @param [options.plotType='none'] Options: no scatter = (false or 'none'); scatter points= (true or [amount=% of width (default=10)]); beeswarm points = ('beeswarm')
  1349. * @param [options.pointSize=6] Diameter of the circle in pizels (not the radius)
  1350. * @param [options.showLines=['median']] Can equal any of the metrics lines
  1351. * @param [options.showbeanLines=false] Options: no lines = false
  1352. * @param [options.beanWidth=20] % width
  1353. * @param [options.colors=chart default]
  1354. * @returns {*} The chart object
  1355. *
  1356. */
  1357. chart.renderDataPlots = function (options) {
  1358. chart.dataPlots = {};
  1359. //Defaults
  1360. var defaultOptions = {
  1361. show: true,
  1362. showPlot: false,
  1363. plotType: 'none',
  1364. pointSize: 6,
  1365. showLines: false,//['median'],
  1366. showBeanLines: false,
  1367. beanWidth: 20,
  1368. colors: null,
  1369. padding: 0
  1370. };
  1371. chart.dataPlots.options = shallowCopy(defaultOptions);
  1372. for (var option in options) {
  1373. chart.dataPlots.options[option] = options[option]
  1374. }
  1375. var dOpts = chart.dataPlots.options;
  1376. //Create notch objects
  1377. for (var cName in chart.groupObjs) {
  1378. chart.groupObjs[cName].dataPlots = {};
  1379. chart.groupObjs[cName].dataPlots.objs = {};
  1380. }
  1381. // The lines don't fit into a group bucket so they live under the dataPlot object
  1382. chart.dataPlots.objs = {};
  1383. /**
  1384. * Take updated options and redraw the data plots
  1385. * @param updateOptions
  1386. */
  1387. chart.dataPlots.change = function (updateOptions) {
  1388. if (updateOptions) {
  1389. for (var key in updateOptions) {
  1390. dOpts[key] = updateOptions[key]
  1391. }
  1392. }
  1393. chart.dataPlots.objs.g.remove();
  1394. for (var cName in chart.groupObjs) {
  1395. chart.groupObjs[cName].dataPlots.objs.g.remove()
  1396. }
  1397. chart.dataPlots.preparePlots();
  1398. chart.dataPlots.update()
  1399. };
  1400. chart.dataPlots.reset = function () {
  1401. chart.dataPlots.change(defaultOptions)
  1402. };
  1403. chart.dataPlots.show = function (opts) {
  1404. if (opts !== undefined) {
  1405. opts.show = true;
  1406. if (opts.reset) {
  1407. chart.dataPlots.reset()
  1408. }
  1409. } else {
  1410. opts = {show: true};
  1411. }
  1412. chart.dataPlots.change(opts)
  1413. };
  1414. chart.dataPlots.hide = function (opts) {
  1415. if (opts !== undefined) {
  1416. opts.show = false;
  1417. if (opts.reset) {
  1418. chart.dataPlots.reset()
  1419. }
  1420. } else {
  1421. opts = {show: false};
  1422. }
  1423. chart.dataPlots.change(opts)
  1424. };
  1425. /**
  1426. * Update the data plot obj values
  1427. */
  1428. chart.dataPlots.update = function () {
  1429. var cName, cGroup, cPlot;
  1430. // Metrics lines
  1431. if (chart.dataPlots.objs.g) {
  1432. var halfBand = chart.xScale.rangeBand() / 2; // find the middle of each band
  1433. for (var cMetric in chart.dataPlots.objs.lines) {
  1434. chart.dataPlots.objs.lines[cMetric].line
  1435. .x(function (d) {
  1436. return chart.xScale(d.x) + halfBand
  1437. });
  1438. chart.dataPlots.objs.lines[cMetric].g
  1439. .datum(chart.dataPlots.objs.lines[cMetric].values)
  1440. .attr('d', chart.dataPlots.objs.lines[cMetric].line);
  1441. }
  1442. }
  1443. for (cName in chart.groupObjs) {
  1444. cGroup = chart.groupObjs[cName];
  1445. cPlot = cGroup.dataPlots;
  1446. if (cPlot.objs.points) {
  1447. if (dOpts.plotType == 'beeswarm') {
  1448. var swarmBounds = getObjWidth(100, cName);
  1449. var yPtScale = chart.yScale.copy()
  1450. .range([Math.floor(chart.yScale.range()[0] / dOpts.pointSize), 0])
  1451. .interpolate(d3.interpolateRound)
  1452. .domain(chart.yScale.domain());
  1453. var maxWidth = Math.floor(chart.xScale.rangeBand() / dOpts.pointSize);
  1454. var ptsObj = {};
  1455. var cYBucket = null;
  1456. // Bucket points
  1457. for (var pt = 0; pt < cGroup.values.length; pt++) {
  1458. cYBucket = yPtScale(cGroup.values[pt]);
  1459. if (ptsObj.hasOwnProperty(cYBucket) !== true) {
  1460. ptsObj[cYBucket] = [];
  1461. }
  1462. ptsObj[cYBucket].push(cPlot.objs.points.pts[pt]
  1463. .attr("cx", swarmBounds.middle)
  1464. .attr("cy", yPtScale(cGroup.values[pt]) * dOpts.pointSize));
  1465. }
  1466. // Plot buckets
  1467. var rightMax = Math.min(swarmBounds.right - dOpts.pointSize);
  1468. for (var row in ptsObj) {
  1469. var leftMin = swarmBounds.left + (Math.max((maxWidth - ptsObj[row].length) / 2, 0) * dOpts.pointSize);
  1470. var col = 0;
  1471. for (pt in ptsObj[row]) {
  1472. ptsObj[row][pt].attr("cx", Math.min(leftMin + col * dOpts.pointSize, rightMax) + dOpts.pointSize / 2);
  1473. col++
  1474. }
  1475. }
  1476. } else { // For scatter points and points with no scatter
  1477. var plotBounds = null,
  1478. scatterWidth = 0,
  1479. width = 0;
  1480. if (dOpts.plotType == 'scatter' || typeof dOpts.plotType == 'number') {
  1481. //Default scatter percentage is 20% of box width
  1482. scatterWidth = typeof dOpts.plotType == 'number' ? dOpts.plotType : 20;
  1483. }
  1484. plotBounds = getObjWidth(scatterWidth, cName);
  1485. plotBounds.middle += chart.dataPlots.options.padding
  1486. plotBounds.right += chart.dataPlots.options.padding
  1487. plotBounds.left += chart.dataPlots.options.padding
  1488. width = plotBounds.right - plotBounds.left;
  1489. for (var pt = 0; pt < cGroup.values.length; pt++) {
  1490. cPlot.objs.points.pts[pt]
  1491. .attr("cx", plotBounds.middle + addJitter(true, width))
  1492. .attr("cy", chart.yScale(cGroup.values[pt]));
  1493. }
  1494. }
  1495. }
  1496. if (cPlot.objs.bean) {
  1497. var beanBounds = getObjWidth(dOpts.beanWidth, cName);
  1498. for (var pt = 0; pt < cGroup.values.length; pt++) {
  1499. cPlot.objs.bean.lines[pt]
  1500. .attr("x1", beanBounds.left)
  1501. .attr("x2", beanBounds.right)
  1502. .attr('y1', chart.yScale(cGroup.values[pt]))
  1503. .attr("y2", chart.yScale(cGroup.values[pt]));
  1504. }
  1505. }
  1506. }
  1507. };
  1508. /**
  1509. * Create the svg elements for the data plots
  1510. */
  1511. chart.dataPlots.preparePlots = function () {
  1512. var cName, cPlot;
  1513. if (dOpts && dOpts.colors) {
  1514. chart.dataPlots.colorFunct = getColorFunct(dOpts.colors);
  1515. } else {
  1516. chart.dataPlots.colorFunct = chart.colorFunct
  1517. }
  1518. if (dOpts.show == false) {
  1519. return
  1520. }
  1521. // Metrics lines
  1522. chart.dataPlots.objs.g = chart.objs.g.append("g").attr("class", "metrics-lines");
  1523. if (dOpts.showLines && dOpts.showLines.length > 0) {
  1524. chart.dataPlots.objs.lines = {};
  1525. var cMetric;
  1526. for (var line in dOpts.showLines) {
  1527. cMetric = dOpts.showLines[line];
  1528. chart.dataPlots.objs.lines[cMetric] = {};
  1529. chart.dataPlots.objs.lines[cMetric].values = [];
  1530. for (var cGroup in chart.groupObjs) {
  1531. chart.dataPlots.objs.lines[cMetric].values.push({
  1532. x: cGroup,
  1533. y: chart.groupObjs[cGroup].metrics[cMetric]
  1534. })
  1535. }
  1536. chart.dataPlots.objs.lines[cMetric].line = d3.svg.line()
  1537. .interpolate("cardinal")
  1538. .y(function (d) {
  1539. return chart.yScale(d.y)
  1540. });
  1541. chart.dataPlots.objs.lines[cMetric].g = chart.dataPlots.objs.g.append("path")
  1542. .attr("class", "line " + cMetric)
  1543. .attr("data-metric", cMetric)
  1544. .style("fill", 'none')
  1545. .style("stroke", chart.colorFunct(cMetric));
  1546. }
  1547. }
  1548. for (cName in chart.groupObjs) {
  1549. cPlot = chart.groupObjs[cName].dataPlots;
  1550. cPlot.objs.g = chart.groupObjs[cName].g.append("g").attr("class", "data-plot");
  1551. // Points Plot
  1552. if (dOpts.showPlot) {
  1553. cPlot.objs.points = {g: null, pts: []};
  1554. cPlot.objs.points.g = cPlot.objs.g.append("g").attr("class", "points-plot");
  1555. for (var pt = 0; pt < chart.groupObjs[cName].values.length; pt++) {
  1556. cPlot.objs.points.pts.push(cPlot.objs.points.g
  1557. .append("a")
  1558. .attr("xlink:href", function(d) {
  1559. return chart.groupObjs[cName].labels[pt] + ".html"
  1560. })
  1561. .append("circle")
  1562. .attr("class", "point")
  1563. .attr('r', dOpts.pointSize / 2)// Options is diameter, r takes radius so divide by 2
  1564. .style("fill", chart.dataPlots.colorFunct(cName))
  1565. .on("mouseover", function() {
  1566. chart.objs.tooltip
  1567. .style("display", null)
  1568. .style("left", (d3.event.pageX) + "px")
  1569. .style("top", (d3.event.pageY - 28) + "px");
  1570. })
  1571. .on("mouseout", function () {
  1572. chart.objs.tooltip.style("display", "none");
  1573. })
  1574. .on("mousemove", pointHover(chart.groupObjs[cName].labels[pt], chart.groupObjs[cName].values[pt]))
  1575. );
  1576. }
  1577. }
  1578. // Bean lines
  1579. if (dOpts.showBeanLines) {
  1580. cPlot.objs.bean = {g: null, lines: []};
  1581. cPlot.objs.bean.g = cPlot.objs.g.append("g").attr("class", "bean-plot");
  1582. for (var pt = 0; pt < chart.groupObjs[cName].values.length; pt++) {
  1583. cPlot.objs.bean.lines.push(cPlot.objs.bean.g.append("line")
  1584. .attr("class", "bean line")
  1585. .style("stroke-width", '1')
  1586. .style("stroke", chart.dataPlots.colorFunct(cName)));
  1587. }
  1588. }
  1589. }
  1590. };
  1591. chart.dataPlots.preparePlots();
  1592. d3.select(window).on('resize.' + chart.selector + '.dataPlot', chart.dataPlots.update);
  1593. chart.dataPlots.update();
  1594. return chart;
  1595. };
  1596. return chart;
  1597. }
  1598. </script>
  1599. <title>MRIQC: group T1w
  1600. report</title>
  1601. </head>
  1602. <body>
  1603. <h1>MRIQC: group T1w
  1604. report</h1>
  1605. <h2>Summary</h2>
  1606. <ul class="simple">
  1607. <li>Date and time: 2020-03-02, 19:21.</li>
  1608. <li>MRIQC version: 0.15.2rc1.</li>
  1609. </ul>
  1610. <div class="chart-wrapper" id="chart-group0"></div>
  1611. <pre class="csvdata" id="data-csv0" style="display: none">
  1612. iqm,value,label,units
  1613. cjv,0.28453918938189543,sub-0050722_T1w,
  1614. cjv,0.30074557624143045,sub-0050723_T1w,
  1615. cjv,0.2849354649066789,sub-0050724_T1w,
  1616. cjv,0.3118150991017242,sub-0050725_T1w,
  1617. cjv,0.2610543483592825,sub-0050726_T1w,
  1618. cjv,0.2747310660152055,sub-0050727_T1w,
  1619. cjv,0.2794483547253454,sub-0050728_T1w,
  1620. cjv,0.2688001013304148,sub-0050730_T1w,
  1621. cjv,0.2853930032875354,sub-0050731_T1w,
  1622. cjv,0.3132630706377971,sub-0050732_T1w,
  1623. cjv,0.2688594682201139,sub-0050733_T1w,
  1624. cjv,0.2937722658646489,sub-0050734_T1w,
  1625. cjv,0.26400200093427684,sub-0050735_T1w,
  1626. cjv,0.31068703425564115,sub-0050736_T1w,
  1627. cjv,0.27468214623474385,sub-0050737_T1w,
  1628. cjv,0.27913503419850993,sub-0050738_T1w,
  1629. cjv,0.2821734097044065,sub-0050739_T1w,
  1630. cjv,0.2609760152389646,sub-0050740_T1w,
  1631. cjv,0.2572487421211145,sub-0050741_T1w,
  1632. cjv,0.28037250193787505,sub-0050742_T1w,
  1633. cjv,0.2762986747173626,sub-0050743_T1w,
  1634. cjv,0.3339222186027423,sub-0050744_T1w,
  1635. cjv,0.29286901981399605,sub-0050745_T1w,
  1636. cjv,0.2857089116403841,sub-0050746_T1w,
  1637. cjv,0.31095114231149323,sub-0050747_T1w,
  1638. cjv,0.2802635086194898,sub-0050748_T1w,
  1639. cjv,0.2992105639949389,sub-0050749_T1w,
  1640. cjv,0.3380434735458173,sub-0050750_T1w,
  1641. cjv,0.2723545778617915,sub-0050751_T1w,
  1642. cjv,0.28501133105930154,sub-0050752_T1w,
  1643. cjv,0.3100100890288677,sub-0050753_T1w,
  1644. cjv,0.29863857846659897,sub-0050754_T1w,
  1645. cjv,0.2567947345533905,sub-0050755_T1w,
  1646. cjv,0.3067319609116766,sub-0050756_T1w,
  1647. cjv,0.282800406277468,sub-0050757_T1w,
  1648. </pre>
  1649. <div class="chart-wrapper" id="chart-group1"></div>
  1650. <pre class="csvdata" id="data-csv1" style="display: none">
  1651. iqm,value,label,units
  1652. cnr,4.50446729916744,sub-0050722_T1w,
  1653. cnr,4.410531161322517,sub-0050723_T1w,
  1654. cnr,4.397903816461431,sub-0050724_T1w,
  1655. cnr,4.11677449552406,sub-0050725_T1w,
  1656. cnr,4.668462470456234,sub-0050726_T1w,
  1657. cnr,4.630390992066332,sub-0050727_T1w,
  1658. cnr,4.432017056514947,sub-0050728_T1w,
  1659. cnr,4.7040847342341126,sub-0050730_T1w,
  1660. cnr,4.361200723449319,sub-0050731_T1w,
  1661. cnr,4.168422972073892,sub-0050732_T1w,
  1662. cnr,4.495559197059263,sub-0050733_T1w,
  1663. cnr,4.196961397946431,sub-0050734_T1w,
  1664. cnr,4.757284198212291,sub-0050735_T1w,
  1665. cnr,4.103714224135666,sub-0050736_T1w,
  1666. cnr,4.665311876763964,sub-0050737_T1w,
  1667. cnr,4.490260546839757,sub-0050738_T1w,
  1668. cnr,4.296671843624736,sub-0050739_T1w,
  1669. cnr,4.671143268745487,sub-0050740_T1w,
  1670. cnr,4.663586793948843,sub-0050741_T1w,
  1671. cnr,4.443285724176409,sub-0050742_T1w,
  1672. cnr,4.488156918917066,sub-0050743_T1w,
  1673. cnr,3.884663175604896,sub-0050744_T1w,
  1674. cnr,4.323768768230808,sub-0050745_T1w,
  1675. cnr,4.3289254402096216,sub-0050746_T1w,
  1676. cnr,4.0691408608256765,sub-0050747_T1w,
  1677. cnr,4.518979014929862,sub-0050748_T1w,
  1678. cnr,4.115864900854592,sub-0050749_T1w,
  1679. cnr,3.865681134194477,sub-0050750_T1w,
  1680. cnr,4.7426534438558745,sub-0050751_T1w,
  1681. cnr,4.423885828064991,sub-0050752_T1w,
  1682. cnr,4.083476376471872,sub-0050753_T1w,
  1683. cnr,4.1663607361149735,sub-0050754_T1w,
  1684. cnr,4.953312128231373,sub-0050755_T1w,
  1685. cnr,4.199811723604826,sub-0050756_T1w,
  1686. cnr,4.351597065054053,sub-0050757_T1w,
  1687. </pre>
  1688. <div class="chart-wrapper" id="chart-group2"></div>
  1689. <pre class="csvdata" id="data-csv2" style="display: none">
  1690. iqm,value,label,units
  1691. efc,0.6989664412414097,sub-0050722_T1w,
  1692. efc,0.6972753297015283,sub-0050723_T1w,
  1693. efc,0.7189779171810191,sub-0050724_T1w,
  1694. efc,0.7173101206741597,sub-0050725_T1w,
  1695. efc,0.7132714073261179,sub-0050726_T1w,
  1696. efc,0.6965716802464287,sub-0050727_T1w,
  1697. efc,0.6952432998503124,sub-0050728_T1w,
  1698. efc,0.6761151136929284,sub-0050730_T1w,
  1699. efc,0.6930597769491397,sub-0050731_T1w,
  1700. efc,0.7210398493819651,sub-0050732_T1w,
  1701. efc,0.7082701194159754,sub-0050733_T1w,
  1702. efc,0.7310848943926657,sub-0050734_T1w,
  1703. efc,0.7031099212592208,sub-0050735_T1w,
  1704. efc,0.6897075015297253,sub-0050736_T1w,
  1705. efc,0.7003504360256791,sub-0050737_T1w,
  1706. efc,0.7148064477522251,sub-0050738_T1w,
  1707. efc,0.7107482733204534,sub-0050739_T1w,
  1708. efc,0.7105574549561311,sub-0050740_T1w,
  1709. efc,0.7264873293158679,sub-0050741_T1w,
  1710. efc,0.7294739169502384,sub-0050742_T1w,
  1711. efc,0.6920617943957648,sub-0050743_T1w,
  1712. efc,0.7014585025543447,sub-0050744_T1w,
  1713. efc,0.7041029797607966,sub-0050745_T1w,
  1714. efc,0.7300985731379169,sub-0050746_T1w,
  1715. efc,0.7201974695550185,sub-0050747_T1w,
  1716. efc,0.6898182840332555,sub-0050748_T1w,
  1717. efc,0.7017477131260065,sub-0050749_T1w,
  1718. efc,0.7131584587320775,sub-0050750_T1w,
  1719. efc,0.6774998085366043,sub-0050751_T1w,
  1720. efc,0.6990738458787138,sub-0050752_T1w,
  1721. efc,0.6937172437460362,sub-0050753_T1w,
  1722. efc,0.7125804925264299,sub-0050754_T1w,
  1723. efc,0.7144409631914197,sub-0050755_T1w,
  1724. efc,0.7073931117214659,sub-0050756_T1w,
  1725. efc,0.7087307980292634,sub-0050757_T1w,
  1726. </pre>
  1727. <div class="chart-wrapper" id="chart-group3"></div>
  1728. <pre class="csvdata" id="data-csv3" style="display: none">
  1729. iqm,value,label,units
  1730. fber,3091.126220703125,sub-0050722_T1w,
  1731. fber,5059.1630859375,sub-0050723_T1w,
  1732. fber,2938.883056640625,sub-0050724_T1w,
  1733. fber,1468.1873779296875,sub-0050725_T1w,
  1734. fber,1281.3858642578125,sub-0050726_T1w,
  1735. fber,4359.01123046875,sub-0050727_T1w,
  1736. fber,3480.77294921875,sub-0050728_T1w,
  1737. fber,4034.1162109375,sub-0050730_T1w,
  1738. fber,3199.009765625,sub-0050731_T1w,
  1739. fber,1629.707275390625,sub-0050732_T1w,
  1740. fber,2934.952392578125,sub-0050733_T1w,
  1741. fber,3061.756103515625,sub-0050734_T1w,
  1742. fber,3976.1298828125,sub-0050735_T1w,
  1743. fber,4734.32763671875,sub-0050736_T1w,
  1744. fber,1616.6240234375,sub-0050737_T1w,
  1745. fber,3419.791259765625,sub-0050738_T1w,
  1746. fber,3449.69775390625,sub-0050739_T1w,
  1747. fber,3146.584228515625,sub-0050740_T1w,
  1748. fber,2621.17578125,sub-0050741_T1w,
  1749. fber,3134.738525390625,sub-0050742_T1w,
  1750. fber,3918.878173828125,sub-0050743_T1w,
  1751. fber,2912.10205078125,sub-0050744_T1w,
  1752. fber,4236.90966796875,sub-0050745_T1w,
  1753. fber,2411.57958984375,sub-0050746_T1w,
  1754. fber,3003.467529296875,sub-0050747_T1w,
  1755. fber,3732.652587890625,sub-0050748_T1w,
  1756. fber,3641.875,sub-0050749_T1w,
  1757. fber,1688.031494140625,sub-0050750_T1w,
  1758. fber,2118.12890625,sub-0050751_T1w,
  1759. fber,3455.36181640625,sub-0050752_T1w,
  1760. fber,3581.2978515625,sub-0050753_T1w,
  1761. fber,3198.1259765625,sub-0050754_T1w,
  1762. fber,2821.550537109375,sub-0050755_T1w,
  1763. fber,2636.646728515625,sub-0050756_T1w,
  1764. fber,1394.487060546875,sub-0050757_T1w,
  1765. </pre>
  1766. <div class="chart-wrapper" id="chart-group4"></div>
  1767. <pre class="csvdata" id="data-csv4" style="display: none">
  1768. iqm,value,label,units
  1769. wm2max,0.5250130204494154,sub-0050722_T1w,
  1770. wm2max,0.5794837639441519,sub-0050723_T1w,
  1771. wm2max,0.4955179994141069,sub-0050724_T1w,
  1772. wm2max,0.5462692321392005,sub-0050725_T1w,
  1773. wm2max,0.4968064718527377,sub-0050726_T1w,
  1774. wm2max,0.6095238353599541,sub-0050727_T1w,
  1775. wm2max,0.6304645502288062,sub-0050728_T1w,
  1776. wm2max,0.5809636198181267,sub-0050730_T1w,
  1777. wm2max,0.5748203535777223,sub-0050731_T1w,
  1778. wm2max,0.5667603352275674,sub-0050732_T1w,
  1779. wm2max,0.5689750520839449,sub-0050733_T1w,
  1780. wm2max,0.5571027798046768,sub-0050734_T1w,
  1781. wm2max,0.5949405569302416,sub-0050735_T1w,
  1782. wm2max,0.6461756155522288,sub-0050736_T1w,
  1783. wm2max,0.5362554884951677,sub-0050737_T1w,
  1784. wm2max,0.5563630886654855,sub-0050738_T1w,
  1785. wm2max,0.491073076607623,sub-0050739_T1w,
  1786. wm2max,0.6447019541425345,sub-0050740_T1w,
  1787. wm2max,0.6410328599409871,sub-0050741_T1w,
  1788. wm2max,0.5432764997775222,sub-0050742_T1w,
  1789. wm2max,0.5967772950667983,sub-0050743_T1w,
  1790. wm2max,0.5911599058118275,sub-0050744_T1w,
  1791. wm2max,0.6332603702946584,sub-0050745_T1w,
  1792. wm2max,0.601339430395241,sub-0050746_T1w,
  1793. wm2max,0.5933272493350863,sub-0050747_T1w,
  1794. wm2max,0.5884001991622115,sub-0050748_T1w,
  1795. wm2max,0.5652557511143098,sub-0050749_T1w,
  1796. wm2max,0.5097104732706214,sub-0050750_T1w,
  1797. wm2max,0.5798260495040035,sub-0050751_T1w,
  1798. wm2max,0.5871973947261644,sub-0050752_T1w,
  1799. wm2max,0.5332816494203527,sub-0050753_T1w,
  1800. wm2max,0.5284687075468022,sub-0050754_T1w,
  1801. wm2max,0.6018980108523124,sub-0050755_T1w,
  1802. wm2max,0.5074289262947351,sub-0050756_T1w,
  1803. wm2max,0.6135090082988198,sub-0050757_T1w,
  1804. </pre>
  1805. <div class="chart-wrapper" id="chart-group5"></div>
  1806. <pre class="csvdata" id="data-csv5" style="display: none">
  1807. iqm,value,label,units
  1808. snr_csf,1.0189736925143549,sub-0050722_T1w,
  1809. snr_csf,0.7673142516173478,sub-0050723_T1w,
  1810. snr_csf,1.8578800173017336,sub-0050724_T1w,
  1811. snr_csf,1.5391712486832767,sub-0050725_T1w,
  1812. snr_csf,1.8066976184351484,sub-0050726_T1w,
  1813. snr_csf,2.301581823318428,sub-0050727_T1w,
  1814. snr_csf,2.7109996171393167,sub-0050728_T1w,
  1815. snr_csf,1.7404649519711184,sub-0050730_T1w,
  1816. snr_csf,1.5699726331510313,sub-0050731_T1w,
  1817. snr_csf,1.315370119810939,sub-0050732_T1w,
  1818. snr_csf,0.9288361659997948,sub-0050733_T1w,
  1819. snr_csf,1.4021957908295601,sub-0050734_T1w,
  1820. snr_csf,0.899941422727597,sub-0050735_T1w,
  1821. snr_csf,3.0596595288335147,sub-0050736_T1w,
  1822. snr_csf,2.458196246388802,sub-0050737_T1w,
  1823. snr_csf,1.7917854730799008,sub-0050738_T1w,
  1824. snr_csf,1.005423773408913,sub-0050739_T1w,
  1825. snr_csf,2.674184101352519,sub-0050740_T1w,
  1826. snr_csf,2.7857999478982904,sub-0050741_T1w,
  1827. snr_csf,2.55155868084467,sub-0050742_T1w,
  1828. snr_csf,1.6497737525898468,sub-0050743_T1w,
  1829. snr_csf,2.626790867030037,sub-0050744_T1w,
  1830. snr_csf,3.4056799395413155,sub-0050745_T1w,
  1831. snr_csf,2.3119029754427074,sub-0050746_T1w,
  1832. snr_csf,1.8566931693433293,sub-0050747_T1w,
  1833. snr_csf,2.147826876306462,sub-0050748_T1w,
  1834. snr_csf,1.888132176731026,sub-0050749_T1w,
  1835. snr_csf,2.084486526574824,sub-0050750_T1w,
  1836. snr_csf,1.323711522328437,sub-0050751_T1w,
  1837. snr_csf,3.5266332332255548,sub-0050752_T1w,
  1838. snr_csf,1.91665562146461,sub-0050753_T1w,
  1839. snr_csf,2.0301334393725354,sub-0050754_T1w,
  1840. snr_csf,1.9158350930063068,sub-0050755_T1w,
  1841. snr_csf,2.2902815428448213,sub-0050756_T1w,
  1842. snr_csf,1.0600279789218892,sub-0050757_T1w,
  1843. snr_gm,7.305160635153091,sub-0050722_T1w,
  1844. snr_gm,7.834381503206331,sub-0050723_T1w,
  1845. snr_gm,7.419633072268471,sub-0050724_T1w,
  1846. snr_gm,6.756483526624469,sub-0050725_T1w,
  1847. snr_gm,7.6663069108725885,sub-0050726_T1w,
  1848. snr_gm,7.75735026694862,sub-0050727_T1w,
  1849. snr_gm,7.944249455193439,sub-0050728_T1w,
  1850. snr_gm,7.323197641673904,sub-0050730_T1w,
  1851. snr_gm,6.8120309325835375,sub-0050731_T1w,
  1852. snr_gm,6.656283456892719,sub-0050732_T1w,
  1853. snr_gm,6.81762949668171,sub-0050733_T1w,
  1854. snr_gm,6.601863887846582,sub-0050734_T1w,
  1855. snr_gm,7.334831862468753,sub-0050735_T1w,
  1856. snr_gm,7.679996911208128,sub-0050736_T1w,
  1857. snr_gm,7.4677545924991335,sub-0050737_T1w,
  1858. snr_gm,7.3222656503564725,sub-0050738_T1w,
  1859. snr_gm,7.139143562852433,sub-0050739_T1w,
  1860. snr_gm,6.821880816724584,sub-0050740_T1w,
  1861. snr_gm,7.498892868565892,sub-0050741_T1w,
  1862. snr_gm,7.28961143866271,sub-0050742_T1w,
  1863. snr_gm,7.285532716194253,sub-0050743_T1w,
  1864. snr_gm,7.436839298279551,sub-0050744_T1w,
  1865. snr_gm,7.315383621963166,sub-0050745_T1w,
  1866. snr_gm,7.55455957560491,sub-0050746_T1w,
  1867. snr_gm,6.9837966559585345,sub-0050747_T1w,
  1868. snr_gm,6.635054732870238,sub-0050748_T1w,
  1869. snr_gm,7.2258440891419875,sub-0050749_T1w,
  1870. snr_gm,7.093638085507883,sub-0050750_T1w,
  1871. snr_gm,7.54080877832363,sub-0050751_T1w,
  1872. snr_gm,8.118941366731994,sub-0050752_T1w,
  1873. snr_gm,6.955687794878287,sub-0050753_T1w,
  1874. snr_gm,6.7663112368758345,sub-0050754_T1w,
  1875. snr_gm,7.032145659912144,sub-0050755_T1w,
  1876. snr_gm,6.761739796062125,sub-0050756_T1w,
  1877. snr_gm,6.381012239734813,sub-0050757_T1w,
  1878. snr_wm,16.146996298049928,sub-0050722_T1w,
  1879. snr_wm,16.015374537410253,sub-0050723_T1w,
  1880. snr_wm,16.527961700590858,sub-0050724_T1w,
  1881. snr_wm,19.11161168284991,sub-0050725_T1w,
  1882. snr_wm,17.31120265336209,sub-0050726_T1w,
  1883. snr_wm,18.39444777546759,sub-0050727_T1w,
  1884. snr_wm,18.42538654046625,sub-0050728_T1w,
  1885. snr_wm,15.21995163494699,sub-0050730_T1w,
  1886. snr_wm,20.18067634399777,sub-0050731_T1w,
  1887. snr_wm,16.834494693496655,sub-0050732_T1w,
  1888. snr_wm,17.35256522225903,sub-0050733_T1w,
  1889. snr_wm,17.76219412711481,sub-0050734_T1w,
  1890. snr_wm,17.01271277738092,sub-0050735_T1w,
  1891. snr_wm,15.881326229945707,sub-0050736_T1w,
  1892. snr_wm,16.440782050336413,sub-0050737_T1w,
  1893. snr_wm,16.97578240219095,sub-0050738_T1w,
  1894. snr_wm,19.22843460473984,sub-0050739_T1w,
  1895. snr_wm,17.560810947904976,sub-0050740_T1w,
  1896. snr_wm,17.888051933934392,sub-0050741_T1w,
  1897. snr_wm,18.13257848673962,sub-0050742_T1w,
  1898. snr_wm,18.034517188383425,sub-0050743_T1w,
  1899. snr_wm,12.15266611804174,sub-0050744_T1w,
  1900. snr_wm,16.465923015056212,sub-0050745_T1w,
  1901. snr_wm,14.346520247586575,sub-0050746_T1w,
  1902. snr_wm,16.48575713886471,sub-0050747_T1w,
  1903. snr_wm,18.077009692626188,sub-0050748_T1w,
  1904. snr_wm,17.995450875565133,sub-0050749_T1w,
  1905. snr_wm,15.027432967142582,sub-0050750_T1w,
  1906. snr_wm,15.2640376198914,sub-0050751_T1w,
  1907. snr_wm,18.851457776579466,sub-0050752_T1w,
  1908. snr_wm,15.91080648515598,sub-0050753_T1w,
  1909. snr_wm,14.89734192776291,sub-0050754_T1w,
  1910. snr_wm,16.737305960596373,sub-0050755_T1w,
  1911. snr_wm,16.71233857357851,sub-0050756_T1w,
  1912. snr_wm,15.672128100121752,sub-0050757_T1w,
  1913. </pre>
  1914. <div class="chart-wrapper" id="chart-group6"></div>
  1915. <pre class="csvdata" id="data-csv6" style="display: none">
  1916. iqm,value,label,units
  1917. snrd_csf,19.285960976813485,sub-0050722_T1w,
  1918. snrd_csf,20.71933295246437,sub-0050723_T1w,
  1919. snrd_csf,12.490841749131198,sub-0050724_T1w,
  1920. snrd_csf,21.8467206950916,sub-0050725_T1w,
  1921. snrd_csf,22.765532517097665,sub-0050726_T1w,
  1922. snrd_csf,29.870487009059442,sub-0050727_T1w,
  1923. snrd_csf,30.28965689393773,sub-0050728_T1w,
  1924. snrd_csf,23.593493301342807,sub-0050730_T1w,
  1925. snrd_csf,22.063399259248637,sub-0050731_T1w,
  1926. snrd_csf,11.675111148925344,sub-0050732_T1w,
  1927. snrd_csf,23.71596200238341,sub-0050733_T1w,
  1928. snrd_csf,22.716617369615324,sub-0050734_T1w,
  1929. snrd_csf,26.269427856809678,sub-0050735_T1w,
  1930. snrd_csf,34.137473158781575,sub-0050736_T1w,
  1931. snrd_csf,14.246105866697599,sub-0050737_T1w,
  1932. snrd_csf,29.188138359783746,sub-0050738_T1w,
  1933. snrd_csf,28.68902172000521,sub-0050739_T1w,
  1934. snrd_csf,27.81800854502513,sub-0050740_T1w,
  1935. snrd_csf,26.418928220292877,sub-0050741_T1w,
  1936. snrd_csf,29.346446418088327,sub-0050742_T1w,
  1937. snrd_csf,24.34520883813243,sub-0050743_T1w,
  1938. snrd_csf,24.32139086367173,sub-0050744_T1w,
  1939. snrd_csf,33.409706713669785,sub-0050745_T1w,
  1940. snrd_csf,21.93782280740534,sub-0050746_T1w,
  1941. snrd_csf,28.53829655033244,sub-0050747_T1w,
  1942. snrd_csf,27.65118429564004,sub-0050748_T1w,
  1943. snrd_csf,31.344736067405982,sub-0050749_T1w,
  1944. snrd_csf,12.741602044935544,sub-0050750_T1w,
  1945. snrd_csf,11.743466446001642,sub-0050751_T1w,
  1946. snrd_csf,31.67529952853722,sub-0050752_T1w,
  1947. snrd_csf,22.14573874132972,sub-0050753_T1w,
  1948. snrd_csf,24.56018713755157,sub-0050754_T1w,
  1949. snrd_csf,23.86847357677829,sub-0050755_T1w,
  1950. snrd_csf,23.06182972458016,sub-0050756_T1w,
  1951. snrd_csf,20.73651752016765,sub-0050757_T1w,
  1952. snrd_gm,56.97195104203517,sub-0050722_T1w,
  1953. snrd_gm,70.30175993419864,sub-0050723_T1w,
  1954. snrd_gm,28.33397428473989,sub-0050724_T1w,
  1955. snrd_gm,59.994563017100546,sub-0050725_T1w,
  1956. snrd_gm,53.193534905712404,sub-0050726_T1w,
  1957. snrd_gm,70.54307091005667,sub-0050727_T1w,
  1958. snrd_gm,65.71251637798132,sub-0050728_T1w,
  1959. snrd_gm,63.699473310170475,sub-0050730_T1w,
  1960. snrd_gm,58.1664831074745,sub-0050731_T1w,
  1961. snrd_gm,30.943454248661254,sub-0050732_T1w,
  1962. snrd_gm,59.06733063616167,sub-0050733_T1w,
  1963. snrd_gm,58.68854730828652,sub-0050734_T1w,
  1964. snrd_gm,67.39888811963439,sub-0050735_T1w,
  1965. snrd_gm,72.90118111061845,sub-0050736_T1w,
  1966. snrd_gm,31.18531404484407,sub-0050737_T1w,
  1967. snrd_gm,60.37051780315174,sub-0050738_T1w,
  1968. snrd_gm,64.02229772974053,sub-0050739_T1w,
  1969. snrd_gm,62.00275473776431,sub-0050740_T1w,
  1970. snrd_gm,55.26857007534574,sub-0050741_T1w,
  1971. snrd_gm,59.80700730187255,sub-0050742_T1w,
  1972. snrd_gm,66.86324257818231,sub-0050743_T1w,
  1973. snrd_gm,59.40721041120288,sub-0050744_T1w,
  1974. snrd_gm,70.2790061591249,sub-0050745_T1w,
  1975. snrd_gm,50.43517477706853,sub-0050746_T1w,
  1976. snrd_gm,58.19757808321644,sub-0050747_T1w,
  1977. snrd_gm,61.90862545319843,sub-0050748_T1w,
  1978. snrd_gm,65.53192042871812,sub-0050749_T1w,
  1979. snrd_gm,30.32211047136173,sub-0050750_T1w,
  1980. snrd_gm,33.72887831609459,sub-0050751_T1w,
  1981. snrd_gm,65.90497150026546,sub-0050752_T1w,
  1982. snrd_gm,57.98817343199355,sub-0050753_T1w,
  1983. snrd_gm,58.221204112556656,sub-0050754_T1w,
  1984. snrd_gm,52.14352310727197,sub-0050755_T1w,
  1985. snrd_gm,53.00741521281609,sub-0050756_T1w,
  1986. snrd_gm,56.526894312787135,sub-0050757_T1w,
  1987. snrd_wm,102.43903595972424,sub-0050722_T1w,
  1988. snrd_wm,122.54953858058876,sub-0050723_T1w,
  1989. snrd_wm,49.992983155833045,sub-0050724_T1w,
  1990. snrd_wm,102.95068154839451,sub-0050725_T1w,
  1991. snrd_wm,95.06715717393568,sub-0050726_T1w,
  1992. snrd_wm,123.09022994445203,sub-0050727_T1w,
  1993. snrd_wm,111.20444571998898,sub-0050728_T1w,
  1994. snrd_wm,119.01215933830693,sub-0050730_T1w,
  1995. snrd_wm,101.50785975995709,sub-0050731_T1w,
  1996. snrd_wm,54.748300606028955,sub-0050732_T1w,
  1997. snrd_wm,107.13652192579231,sub-0050733_T1w,
  1998. snrd_wm,103.46514865590954,sub-0050734_T1w,
  1999. snrd_wm,123.21325639579723,sub-0050735_T1w,
  2000. snrd_wm,123.41426387748264,sub-0050736_T1w,
  2001. snrd_wm,56.689396322909616,sub-0050737_T1w,
  2002. snrd_wm,107.13948171947727,sub-0050738_T1w,
  2003. snrd_wm,109.89869304940845,sub-0050739_T1w,
  2004. snrd_wm,114.37715046574331,sub-0050740_T1w,
  2005. snrd_wm,98.21575154627823,sub-0050741_T1w,
  2006. snrd_wm,104.56327718302609,sub-0050742_T1w,
  2007. snrd_wm,117.49059950000492,sub-0050743_T1w,
  2008. snrd_wm,105.50707576465756,sub-0050744_T1w,
  2009. snrd_wm,122.98110747817158,sub-0050745_T1w,
  2010. snrd_wm,90.40566549691404,sub-0050746_T1w,
  2011. snrd_wm,100.34777345117165,sub-0050747_T1w,
  2012. snrd_wm,112.903070201515,sub-0050748_T1w,
  2013. snrd_wm,110.88639288117076,sub-0050749_T1w,
  2014. snrd_wm,51.83907744727897,sub-0050750_T1w,
  2015. snrd_wm,62.80445873035805,sub-0050751_T1w,
  2016. snrd_wm,110.44220453482271,sub-0050752_T1w,
  2017. snrd_wm,101.24915364715679,sub-0050753_T1w,
  2018. snrd_wm,104.65587185080088,sub-0050754_T1w,
  2019. snrd_wm,99.2359901751423,sub-0050755_T1w,
  2020. snrd_wm,93.6714499939197,sub-0050756_T1w,
  2021. snrd_wm,105.14556487401266,sub-0050757_T1w,
  2022. </pre>
  2023. <div class="chart-wrapper" id="chart-group7"></div>
  2024. <pre class="csvdata" id="data-csv7" style="display: none">
  2025. iqm,value,label,units
  2026. fwhm_avg,3.7999564475291336,sub-0050722_T1w,vox
  2027. fwhm_avg,3.8406976050073833,sub-0050723_T1w,vox
  2028. fwhm_avg,3.9140656689084032,sub-0050724_T1w,vox
  2029. fwhm_avg,3.856529051648895,sub-0050725_T1w,vox
  2030. fwhm_avg,3.940857810732125,sub-0050726_T1w,vox
  2031. fwhm_avg,4.038674641695187,sub-0050727_T1w,vox
  2032. fwhm_avg,4.130656569312788,sub-0050728_T1w,vox
  2033. fwhm_avg,3.893957378383137,sub-0050730_T1w,vox
  2034. fwhm_avg,3.868086877418001,sub-0050731_T1w,vox
  2035. fwhm_avg,3.8153942198434168,sub-0050732_T1w,vox
  2036. fwhm_avg,3.714237518145952,sub-0050733_T1w,vox
  2037. fwhm_avg,3.6992470409264655,sub-0050734_T1w,vox
  2038. fwhm_avg,3.69282985465936,sub-0050735_T1w,vox
  2039. fwhm_avg,4.054668409164329,sub-0050736_T1w,vox
  2040. fwhm_avg,4.132686499941856,sub-0050737_T1w,vox
  2041. fwhm_avg,4.079980879052429,sub-0050738_T1w,vox
  2042. fwhm_avg,3.908813900709344,sub-0050739_T1w,vox
  2043. fwhm_avg,3.875785392876283,sub-0050740_T1w,vox
  2044. fwhm_avg,4.153320539467672,sub-0050741_T1w,vox
  2045. fwhm_avg,4.003764144452628,sub-0050742_T1w,vox
  2046. fwhm_avg,3.9549282952194815,sub-0050743_T1w,vox
  2047. fwhm_avg,3.97942421352592,sub-0050744_T1w,vox
  2048. fwhm_avg,4.1123546879972,sub-0050745_T1w,vox
  2049. fwhm_avg,3.9679944814956656,sub-0050746_T1w,vox
  2050. fwhm_avg,4.281232847254347,sub-0050747_T1w,vox
  2051. fwhm_avg,3.8929522030705117,sub-0050748_T1w,vox
  2052. fwhm_avg,3.874739682333662,sub-0050749_T1w,vox
  2053. fwhm_avg,3.9163466223314023,sub-0050750_T1w,vox
  2054. fwhm_avg,3.9323698697730936,sub-0050751_T1w,vox
  2055. fwhm_avg,4.0442440501192065,sub-0050752_T1w,vox
  2056. fwhm_avg,3.803763594547552,sub-0050753_T1w,vox
  2057. fwhm_avg,3.9773511583154697,sub-0050754_T1w,vox
  2058. fwhm_avg,3.9525890886555786,sub-0050755_T1w,vox
  2059. fwhm_avg,3.933252074879732,sub-0050756_T1w,vox
  2060. fwhm_avg,3.827250075438102,sub-0050757_T1w,vox
  2061. fwhm_x,3.9611000302501567,sub-0050722_T1w,vox
  2062. fwhm_x,4.009947852202968,sub-0050723_T1w,vox
  2063. fwhm_x,4.1107661593819085,sub-0050724_T1w,vox
  2064. fwhm_x,4.031095443153241,sub-0050725_T1w,vox
  2065. fwhm_x,4.07702125359969,sub-0050726_T1w,vox
  2066. fwhm_x,4.06260129032573,sub-0050727_T1w,vox
  2067. fwhm_x,4.211546583565855,sub-0050728_T1w,vox
  2068. fwhm_x,4.064819400266457,sub-0050730_T1w,vox
  2069. fwhm_x,3.9391602230592224,sub-0050731_T1w,vox
  2070. fwhm_x,3.888530378052484,sub-0050732_T1w,vox
  2071. fwhm_x,3.8372594915275022,sub-0050733_T1w,vox
  2072. fwhm_x,3.861844031374386,sub-0050734_T1w,vox
  2073. fwhm_x,3.922336314396472,sub-0050735_T1w,vox
  2074. fwhm_x,4.214020983609277,sub-0050736_T1w,vox
  2075. fwhm_x,4.1974907951549545,sub-0050737_T1w,vox
  2076. fwhm_x,4.203275340856819,sub-0050738_T1w,vox
  2077. fwhm_x,4.076878952690681,sub-0050739_T1w,vox
  2078. fwhm_x,3.99852854752848,sub-0050740_T1w,vox
  2079. fwhm_x,4.3063769343846765,sub-0050741_T1w,vox
  2080. fwhm_x,4.2069761977315245,sub-0050742_T1w,vox
  2081. fwhm_x,4.107032238925218,sub-0050743_T1w,vox
  2082. fwhm_x,4.056386906588479,sub-0050744_T1w,vox
  2083. fwhm_x,4.271760499639444,sub-0050745_T1w,vox
  2084. fwhm_x,4.063480296778683,sub-0050746_T1w,vox
  2085. fwhm_x,4.467604104044434,sub-0050747_T1w,vox
  2086. fwhm_x,4.079090549208503,sub-0050748_T1w,vox
  2087. fwhm_x,4.101011562688533,sub-0050749_T1w,vox
  2088. fwhm_x,4.012172853001294,sub-0050750_T1w,vox
  2089. fwhm_x,4.063378686320627,sub-0050751_T1w,vox
  2090. fwhm_x,4.254339564520072,sub-0050752_T1w,vox
  2091. fwhm_x,3.9518828417978233,sub-0050753_T1w,vox
  2092. fwhm_x,4.082839452244337,sub-0050754_T1w,vox
  2093. fwhm_x,4.06449533864362,sub-0050755_T1w,vox
  2094. fwhm_x,4.1199828047796245,sub-0050756_T1w,vox
  2095. fwhm_x,3.934965864177124,sub-0050757_T1w,vox
  2096. fwhm_y,3.66397659775504,sub-0050722_T1w,vox
  2097. fwhm_y,3.6916210845645048,sub-0050723_T1w,vox
  2098. fwhm_y,3.7598045898714463,sub-0050724_T1w,vox
  2099. fwhm_y,3.6661096875943433,sub-0050725_T1w,vox
  2100. fwhm_y,3.8450434937553535,sub-0050726_T1w,vox
  2101. fwhm_y,4.115440685469147,sub-0050727_T1w,vox
  2102. fwhm_y,4.071765208956784,sub-0050728_T1w,vox
  2103. fwhm_y,3.809947956184649,sub-0050730_T1w,vox
  2104. fwhm_y,3.8054684056475434,sub-0050731_T1w,vox
  2105. fwhm_y,3.73005596182762,sub-0050732_T1w,vox
  2106. fwhm_y,3.591346161945824,sub-0050733_T1w,vox
  2107. fwhm_y,3.5953067618221293,sub-0050734_T1w,vox
  2108. fwhm_y,3.5607300083019258,sub-0050735_T1w,vox
  2109. fwhm_y,3.9600268816827873,sub-0050736_T1w,vox
  2110. fwhm_y,4.099136239067732,sub-0050737_T1w,vox
  2111. fwhm_y,3.954647176140567,sub-0050738_T1w,vox
  2112. fwhm_y,3.7266870689470015,sub-0050739_T1w,vox
  2113. fwhm_y,3.8261373336110913,sub-0050740_T1w,vox
  2114. fwhm_y,4.06553988961622,sub-0050741_T1w,vox
  2115. fwhm_y,3.8541027301729334,sub-0050742_T1w,vox
  2116. fwhm_y,3.839597882157368,sub-0050743_T1w,vox
  2117. fwhm_y,3.916806783531874,sub-0050744_T1w,vox
  2118. fwhm_y,3.9558340429166527,sub-0050745_T1w,vox
  2119. fwhm_y,3.9244939961028553,sub-0050746_T1w,vox
  2120. fwhm_y,4.02775070940316,sub-0050747_T1w,vox
  2121. fwhm_y,3.79701994551944,sub-0050748_T1w,vox
  2122. fwhm_y,3.7638425313757136,sub-0050749_T1w,vox
  2123. fwhm_y,3.8647278047958618,sub-0050750_T1w,vox
  2124. fwhm_y,3.7924215035959854,sub-0050751_T1w,vox
  2125. fwhm_y,3.9279750951868353,sub-0050752_T1w,vox
  2126. fwhm_y,3.7012721556073886,sub-0050753_T1w,vox
  2127. fwhm_y,3.934415993975945,sub-0050754_T1w,vox
  2128. fwhm_y,3.8189752276286617,sub-0050755_T1w,vox
  2129. fwhm_y,3.855634805386367,sub-0050756_T1w,vox
  2130. fwhm_y,3.795719871702599,sub-0050757_T1w,vox
  2131. fwhm_z,3.774792714582204,sub-0050722_T1w,vox
  2132. fwhm_z,3.8205238782546775,sub-0050723_T1w,vox
  2133. fwhm_z,3.8716262574718554,sub-0050724_T1w,vox
  2134. fwhm_z,3.872382024199102,sub-0050725_T1w,vox
  2135. fwhm_z,3.9005086848413306,sub-0050726_T1w,vox
  2136. fwhm_z,3.937981949290684,sub-0050727_T1w,vox
  2137. fwhm_z,4.108657915415727,sub-0050728_T1w,vox
  2138. fwhm_z,3.8071047786983048,sub-0050730_T1w,vox
  2139. fwhm_z,3.8596320035472393,sub-0050731_T1w,vox
  2140. fwhm_z,3.827596319650147,sub-0050732_T1w,vox
  2141. fwhm_z,3.714106900964528,sub-0050733_T1w,vox
  2142. fwhm_z,3.640590329582881,sub-0050734_T1w,vox
  2143. fwhm_z,3.5954232412796823,sub-0050735_T1w,vox
  2144. fwhm_z,3.9899573622009217,sub-0050736_T1w,vox
  2145. fwhm_z,4.101432465602878,sub-0050737_T1w,vox
  2146. fwhm_z,4.082020120159902,sub-0050738_T1w,vox
  2147. fwhm_z,3.922875680490346,sub-0050739_T1w,vox
  2148. fwhm_z,3.802690297489279,sub-0050740_T1w,vox
  2149. fwhm_z,4.0880447944021165,sub-0050741_T1w,vox
  2150. fwhm_z,3.9502135054534255,sub-0050742_T1w,vox
  2151. fwhm_z,3.9181547645758568,sub-0050743_T1w,vox
  2152. fwhm_z,3.9650789504574098,sub-0050744_T1w,vox
  2153. fwhm_z,4.109469521435504,sub-0050745_T1w,vox
  2154. fwhm_z,3.9160091516054583,sub-0050746_T1w,vox
  2155. fwhm_z,4.348343728315446,sub-0050747_T1w,vox
  2156. fwhm_z,3.802746114483592,sub-0050748_T1w,vox
  2157. fwhm_z,3.759364952936739,sub-0050749_T1w,vox
  2158. fwhm_z,3.872139209197052,sub-0050750_T1w,vox
  2159. fwhm_z,3.941309419402669,sub-0050751_T1w,vox
  2160. fwhm_z,3.9504174906507092,sub-0050752_T1w,vox
  2161. fwhm_z,3.7581357862374447,sub-0050753_T1w,vox
  2162. fwhm_z,3.914798028726127,sub-0050754_T1w,vox
  2163. fwhm_z,3.974296699694455,sub-0050755_T1w,vox
  2164. fwhm_z,3.8241386144732052,sub-0050756_T1w,vox
  2165. fwhm_z,3.7510644904345827,sub-0050757_T1w,vox
  2166. </pre>
  2167. <div class="chart-wrapper" id="chart-group8"></div>
  2168. <pre class="csvdata" id="data-csv8" style="display: none">
  2169. iqm,value,label,units
  2170. qi_1,0.0,sub-0050722_T1w,
  2171. qi_1,0.0,sub-0050723_T1w,
  2172. qi_1,0.0,sub-0050724_T1w,
  2173. qi_1,0.0,sub-0050725_T1w,
  2174. qi_1,0.0,sub-0050726_T1w,
  2175. qi_1,0.0,sub-0050727_T1w,
  2176. qi_1,0.0,sub-0050728_T1w,
  2177. qi_1,0.0003896127909218899,sub-0050730_T1w,
  2178. qi_1,0.0,sub-0050731_T1w,
  2179. qi_1,0.0,sub-0050732_T1w,
  2180. qi_1,0.0,sub-0050733_T1w,
  2181. qi_1,0.0,sub-0050734_T1w,
  2182. qi_1,0.0,sub-0050735_T1w,
  2183. qi_1,0.0,sub-0050736_T1w,
  2184. qi_1,0.0,sub-0050737_T1w,
  2185. qi_1,0.0,sub-0050738_T1w,
  2186. qi_1,0.0,sub-0050739_T1w,
  2187. qi_1,0.0,sub-0050740_T1w,
  2188. qi_1,0.010347243722400559,sub-0050741_T1w,
  2189. qi_1,0.0,sub-0050742_T1w,
  2190. qi_1,0.0,sub-0050743_T1w,
  2191. qi_1,0.0,sub-0050744_T1w,
  2192. qi_1,0.0,sub-0050745_T1w,
  2193. qi_1,0.0,sub-0050746_T1w,
  2194. qi_1,0.0,sub-0050747_T1w,
  2195. qi_1,0.0,sub-0050748_T1w,
  2196. qi_1,0.0,sub-0050749_T1w,
  2197. qi_1,7.650483695236387e-05,sub-0050750_T1w,
  2198. qi_1,0.0,sub-0050751_T1w,
  2199. qi_1,0.0,sub-0050752_T1w,
  2200. qi_1,0.0,sub-0050753_T1w,
  2201. qi_1,0.0,sub-0050754_T1w,
  2202. qi_1,0.0216166216443126,sub-0050755_T1w,
  2203. qi_1,0.0,sub-0050756_T1w,
  2204. qi_1,0.0,sub-0050757_T1w,
  2205. qi_2,0.01328876220779313,sub-0050722_T1w,
  2206. qi_2,0.007397465801840699,sub-0050723_T1w,
  2207. qi_2,0.01882376944237761,sub-0050724_T1w,
  2208. qi_2,0.033066670055785785,sub-0050725_T1w,
  2209. qi_2,0.012388074832815552,sub-0050726_T1w,
  2210. qi_2,0.011443114657966222,sub-0050727_T1w,
  2211. qi_2,0.028647271739332437,sub-0050728_T1w,
  2212. qi_2,0.017978790418483378,sub-0050730_T1w,
  2213. qi_2,0.02307225205549193,sub-0050731_T1w,
  2214. qi_2,0.01908960801279588,sub-0050732_T1w,
  2215. qi_2,0.027810915460469272,sub-0050733_T1w,
  2216. qi_2,0.0309877649163858,sub-0050734_T1w,
  2217. qi_2,0.02616403246632421,sub-0050735_T1w,
  2218. qi_2,0.022797596807909482,sub-0050736_T1w,
  2219. qi_2,0.02948450428988433,sub-0050737_T1w,
  2220. qi_2,0.025597847872176345,sub-0050738_T1w,
  2221. qi_2,0.020101519967745018,sub-0050739_T1w,
  2222. qi_2,0.023314875670672985,sub-0050740_T1w,
  2223. qi_2,0.025462795153160054,sub-0050741_T1w,
  2224. qi_2,0.03117352091322049,sub-0050742_T1w,
  2225. qi_2,0.014459471071715056,sub-0050743_T1w,
  2226. qi_2,0.010803886044104162,sub-0050744_T1w,
  2227. qi_2,0.023606904198712177,sub-0050745_T1w,
  2228. qi_2,0.027978358348145577,sub-0050746_T1w,
  2229. qi_2,0.032396382279172686,sub-0050747_T1w,
  2230. qi_2,0.007902859824661377,sub-0050748_T1w,
  2231. qi_2,0.005942891436526329,sub-0050749_T1w,
  2232. qi_2,0.009852345136822885,sub-0050750_T1w,
  2233. qi_2,0.016689521751749294,sub-0050751_T1w,
  2234. qi_2,0.021994995301927583,sub-0050752_T1w,
  2235. qi_2,0.009680168123659336,sub-0050753_T1w,
  2236. qi_2,0.026646844035554982,sub-0050754_T1w,
  2237. qi_2,0.04593718819681927,sub-0050755_T1w,
  2238. qi_2,0.01727401030636112,sub-0050756_T1w,
  2239. qi_2,0.013859543651972922,sub-0050757_T1w,
  2240. </pre>
  2241. <div class="chart-wrapper" id="chart-group9"></div>
  2242. <pre class="csvdata" id="data-csv9" style="display: none">
  2243. iqm,value,label,units
  2244. inu_range,0.4225230813026428,sub-0050722_T1w,
  2245. inu_range,0.3160397052764894,sub-0050723_T1w,
  2246. inu_range,0.5258526563644408,sub-0050724_T1w,
  2247. inu_range,0.4583621561527249,sub-0050725_T1w,
  2248. inu_range,0.502284049987793,sub-0050726_T1w,
  2249. inu_range,0.3942015767097473,sub-0050727_T1w,
  2250. inu_range,0.4705647706985476,sub-0050728_T1w,
  2251. inu_range,0.35071785449981685,sub-0050730_T1w,
  2252. inu_range,0.4959615945816038,sub-0050731_T1w,
  2253. inu_range,0.4742084026336673,sub-0050732_T1w,
  2254. inu_range,0.4267066776752471,sub-0050733_T1w,
  2255. inu_range,0.4658731043338775,sub-0050734_T1w,
  2256. inu_range,0.3866446733474733,sub-0050735_T1w,
  2257. inu_range,0.4289835691452025,sub-0050736_T1w,
  2258. inu_range,0.3865594744682311,sub-0050737_T1w,
  2259. inu_range,0.511575841903686,sub-0050738_T1w,
  2260. inu_range,0.44189777374267547,sub-0050739_T1w,
  2261. inu_range,0.3926697373390198,sub-0050740_T1w,
  2262. inu_range,0.481880867481232,sub-0050741_T1w,
  2263. inu_range,0.4823390603065492,sub-0050742_T1w,
  2264. inu_range,0.3927587032318116,sub-0050743_T1w,
  2265. inu_range,0.3889509558677671,sub-0050744_T1w,
  2266. inu_range,0.4606540679931641,sub-0050745_T1w,
  2267. inu_range,0.5487283408641812,sub-0050746_T1w,
  2268. inu_range,0.5413617849349974,sub-0050747_T1w,
  2269. inu_range,0.4008607685565946,sub-0050748_T1w,
  2270. inu_range,0.4561296641826631,sub-0050749_T1w,
  2271. inu_range,0.4909085035324097,sub-0050750_T1w,
  2272. inu_range,0.35441111326217634,sub-0050751_T1w,
  2273. inu_range,0.4260119199752808,sub-0050752_T1w,
  2274. inu_range,0.4221880435943604,sub-0050753_T1w,
  2275. inu_range,0.5027325153350828,sub-0050754_T1w,
  2276. inu_range,0.4115320444107056,sub-0050755_T1w,
  2277. inu_range,0.4727086544036867,sub-0050756_T1w,
  2278. inu_range,0.41434642076492295,sub-0050757_T1w,
  2279. inu_med,1.215137958526611,sub-0050722_T1w,
  2280. inu_med,1.2090600728988647,sub-0050723_T1w,
  2281. inu_med,1.2660194635391235,sub-0050724_T1w,
  2282. inu_med,1.1908206939697266,sub-0050725_T1w,
  2283. inu_med,1.2265520095825195,sub-0050726_T1w,
  2284. inu_med,1.2161200046539309,sub-0050727_T1w,
  2285. inu_med,1.2268056869506836,sub-0050728_T1w,
  2286. inu_med,1.174757719039917,sub-0050730_T1w,
  2287. inu_med,1.205907940864563,sub-0050731_T1w,
  2288. inu_med,1.2721954584121704,sub-0050732_T1w,
  2289. inu_med,1.244621753692627,sub-0050733_T1w,
  2290. inu_med,1.244884729385376,sub-0050734_T1w,
  2291. inu_med,1.2277014255523682,sub-0050735_T1w,
  2292. inu_med,1.277909517288208,sub-0050736_T1w,
  2293. inu_med,1.2090506553649902,sub-0050737_T1w,
  2294. inu_med,1.1786597967147827,sub-0050738_T1w,
  2295. inu_med,1.185694694519043,sub-0050739_T1w,
  2296. inu_med,1.1740177869796753,sub-0050740_T1w,
  2297. inu_med,1.200995922088623,sub-0050741_T1w,
  2298. inu_med,1.213174819946289,sub-0050742_T1w,
  2299. inu_med,1.208489179611206,sub-0050743_T1w,
  2300. inu_med,1.2728984355926514,sub-0050744_T1w,
  2301. inu_med,1.2192775011062622,sub-0050745_T1w,
  2302. inu_med,1.2839609384536743,sub-0050746_T1w,
  2303. inu_med,1.2587369680404663,sub-0050747_T1w,
  2304. inu_med,1.250327706336975,sub-0050748_T1w,
  2305. inu_med,1.2208877801895142,sub-0050749_T1w,
  2306. inu_med,1.3198697566986084,sub-0050750_T1w,
  2307. inu_med,1.257460117340088,sub-0050751_T1w,
  2308. inu_med,1.231210708618164,sub-0050752_T1w,
  2309. inu_med,1.2277352809906006,sub-0050753_T1w,
  2310. inu_med,1.2175277471542358,sub-0050754_T1w,
  2311. inu_med,1.2008445262908936,sub-0050755_T1w,
  2312. inu_med,1.2607470750808716,sub-0050756_T1w,
  2313. inu_med,1.2203943729400637,sub-0050757_T1w,
  2314. </pre>
  2315. <div class="chart-wrapper" id="chart-group10"></div>
  2316. <pre class="csvdata" id="data-csv10" style="display: none">
  2317. iqm,value,label,units
  2318. icvs_csf,0.2193385372785936,sub-0050722_T1w,
  2319. icvs_csf,0.2101272851352773,sub-0050723_T1w,
  2320. icvs_csf,0.21022717382737152,sub-0050724_T1w,
  2321. icvs_csf,0.2299939067687917,sub-0050725_T1w,
  2322. icvs_csf,0.23069675485802765,sub-0050726_T1w,
  2323. icvs_csf,0.2618973702704128,sub-0050727_T1w,
  2324. icvs_csf,0.2779090860582782,sub-0050728_T1w,
  2325. icvs_csf,0.24292276510177654,sub-0050730_T1w,
  2326. icvs_csf,0.2358933730412907,sub-0050731_T1w,
  2327. icvs_csf,0.23195487759032102,sub-0050732_T1w,
  2328. icvs_csf,0.21492512762349397,sub-0050733_T1w,
  2329. icvs_csf,0.2449060575046523,sub-0050734_T1w,
  2330. icvs_csf,0.2227282663227433,sub-0050735_T1w,
  2331. icvs_csf,0.2870525170682456,sub-0050736_T1w,
  2332. icvs_csf,0.2506003985891521,sub-0050737_T1w,
  2333. icvs_csf,0.28537875109830785,sub-0050738_T1w,
  2334. icvs_csf,0.2578502619731663,sub-0050739_T1w,
  2335. icvs_csf,0.2821784783822997,sub-0050740_T1w,
  2336. icvs_csf,0.2915932099298871,sub-0050741_T1w,
  2337. icvs_csf,0.2525306596743787,sub-0050742_T1w,
  2338. icvs_csf,0.2560792204822707,sub-0050743_T1w,
  2339. icvs_csf,0.2918971985523065,sub-0050744_T1w,
  2340. icvs_csf,0.3109280566530277,sub-0050745_T1w,
  2341. icvs_csf,0.2856756543358083,sub-0050746_T1w,
  2342. icvs_csf,0.2663451844238328,sub-0050747_T1w,
  2343. icvs_csf,0.24583912361734794,sub-0050748_T1w,
  2344. icvs_csf,0.2658676964281779,sub-0050749_T1w,
  2345. icvs_csf,0.2500177811146531,sub-0050750_T1w,
  2346. icvs_csf,0.2278868557494857,sub-0050751_T1w,
  2347. icvs_csf,0.32143788943535195,sub-0050752_T1w,
  2348. icvs_csf,0.2370532782777171,sub-0050753_T1w,
  2349. icvs_csf,0.2709314200637868,sub-0050754_T1w,
  2350. icvs_csf,0.2305247047939925,sub-0050755_T1w,
  2351. icvs_csf,0.25633697620643203,sub-0050756_T1w,
  2352. icvs_csf,0.2280576363356365,sub-0050757_T1w,
  2353. icvs_gm,0.4346983192112777,sub-0050722_T1w,
  2354. icvs_gm,0.426848343564152,sub-0050723_T1w,
  2355. icvs_gm,0.4299025034843209,sub-0050724_T1w,
  2356. icvs_gm,0.4109811934222109,sub-0050725_T1w,
  2357. icvs_gm,0.4232995338897975,sub-0050726_T1w,
  2358. icvs_gm,0.3937289845392178,sub-0050727_T1w,
  2359. icvs_gm,0.373212361297562,sub-0050728_T1w,
  2360. icvs_gm,0.41989587793647337,sub-0050730_T1w,
  2361. icvs_gm,0.3815431015561361,sub-0050731_T1w,
  2362. icvs_gm,0.4125921515854262,sub-0050732_T1w,
  2363. icvs_gm,0.43018136157801096,sub-0050733_T1w,
  2364. icvs_gm,0.4044831568727597,sub-0050734_T1w,
  2365. icvs_gm,0.44095554175312507,sub-0050735_T1w,
  2366. icvs_gm,0.3658929900201706,sub-0050736_T1w,
  2367. icvs_gm,0.41496383716851465,sub-0050737_T1w,
  2368. icvs_gm,0.3790608807558748,sub-0050738_T1w,
  2369. icvs_gm,0.3766618017249518,sub-0050739_T1w,
  2370. icvs_gm,0.3805682545597574,sub-0050740_T1w,
  2371. icvs_gm,0.3645538910729829,sub-0050741_T1w,
  2372. icvs_gm,0.3909300042055655,sub-0050742_T1w,
  2373. icvs_gm,0.383350768473636,sub-0050743_T1w,
  2374. icvs_gm,0.3837019625200568,sub-0050744_T1w,
  2375. icvs_gm,0.35871534130582505,sub-0050745_T1w,
  2376. icvs_gm,0.3924735030775752,sub-0050746_T1w,
  2377. icvs_gm,0.37420953364585424,sub-0050747_T1w,
  2378. icvs_gm,0.40984358343335936,sub-0050748_T1w,
  2379. icvs_gm,0.36147244377385584,sub-0050749_T1w,
  2380. icvs_gm,0.3872669304188979,sub-0050750_T1w,
  2381. icvs_gm,0.429228276210229,sub-0050751_T1w,
  2382. icvs_gm,0.3358670931177017,sub-0050752_T1w,
  2383. icvs_gm,0.39621682556322,sub-0050753_T1w,
  2384. icvs_gm,0.3928800417269978,sub-0050754_T1w,
  2385. icvs_gm,0.4266433692227902,sub-0050755_T1w,
  2386. icvs_gm,0.3810348440877026,sub-0050756_T1w,
  2387. icvs_gm,0.4231336987137845,sub-0050757_T1w,
  2388. icvs_wm,0.3459631435101287,sub-0050722_T1w,
  2389. icvs_wm,0.3630243713005707,sub-0050723_T1w,
  2390. icvs_wm,0.35987032268830765,sub-0050724_T1w,
  2391. icvs_wm,0.3590248998089973,sub-0050725_T1w,
  2392. icvs_wm,0.3460037112521749,sub-0050726_T1w,
  2393. icvs_wm,0.3443736451903693,sub-0050727_T1w,
  2394. icvs_wm,0.3488785526441597,sub-0050728_T1w,
  2395. icvs_wm,0.3371813569617501,sub-0050730_T1w,
  2396. icvs_wm,0.3825635254025733,sub-0050731_T1w,
  2397. icvs_wm,0.3554529708242528,sub-0050732_T1w,
  2398. icvs_wm,0.35489351079849496,sub-0050733_T1w,
  2399. icvs_wm,0.350610785622588,sub-0050734_T1w,
  2400. icvs_wm,0.3363161919241316,sub-0050735_T1w,
  2401. icvs_wm,0.3470544929115838,sub-0050736_T1w,
  2402. icvs_wm,0.3344357642423333,sub-0050737_T1w,
  2403. icvs_wm,0.33556036814581736,sub-0050738_T1w,
  2404. icvs_wm,0.36548793630188187,sub-0050739_T1w,
  2405. icvs_wm,0.3372532670579429,sub-0050740_T1w,
  2406. icvs_wm,0.3438528989971301,sub-0050741_T1w,
  2407. icvs_wm,0.3565393361200558,sub-0050742_T1w,
  2408. icvs_wm,0.3605700110440933,sub-0050743_T1w,
  2409. icvs_wm,0.32440083892763666,sub-0050744_T1w,
  2410. icvs_wm,0.33035660204114725,sub-0050745_T1w,
  2411. icvs_wm,0.32185084258661656,sub-0050746_T1w,
  2412. icvs_wm,0.3594452819303129,sub-0050747_T1w,
  2413. icvs_wm,0.3443172929492927,sub-0050748_T1w,
  2414. icvs_wm,0.3726598597979664,sub-0050749_T1w,
  2415. icvs_wm,0.36271528846644896,sub-0050750_T1w,
  2416. icvs_wm,0.34288486804028523,sub-0050751_T1w,
  2417. icvs_wm,0.34269501744694625,sub-0050752_T1w,
  2418. icvs_wm,0.3667298961590629,sub-0050753_T1w,
  2419. icvs_wm,0.3361885382092154,sub-0050754_T1w,
  2420. icvs_wm,0.3428319259832173,sub-0050755_T1w,
  2421. icvs_wm,0.36262817970586536,sub-0050756_T1w,
  2422. icvs_wm,0.34880866495057894,sub-0050757_T1w,
  2423. </pre>
  2424. <div class="chart-wrapper" id="chart-group11"></div>
  2425. <pre class="csvdata" id="data-csv11" style="display: none">
  2426. iqm,value,label,units
  2427. rpve_csf,29.313381023294077,sub-0050722_T1w,
  2428. rpve_csf,31.697352318161002,sub-0050723_T1w,
  2429. rpve_csf,27.01819332781813,sub-0050724_T1w,
  2430. rpve_csf,25.155246270912908,sub-0050725_T1w,
  2431. rpve_csf,23.59856444606082,sub-0050726_T1w,
  2432. rpve_csf,25.199651582060532,sub-0050727_T1w,
  2433. rpve_csf,26.20848657798417,sub-0050728_T1w,
  2434. rpve_csf,26.96421191871736,sub-0050730_T1w,
  2435. rpve_csf,25.64458009105152,sub-0050731_T1w,
  2436. rpve_csf,23.366472645372482,sub-0050732_T1w,
  2437. rpve_csf,28.152810283540198,sub-0050733_T1w,
  2438. rpve_csf,26.40310834079636,sub-0050734_T1w,
  2439. rpve_csf,32.103005025098376,sub-0050735_T1w,
  2440. rpve_csf,26.814467851860577,sub-0050736_T1w,
  2441. rpve_csf,21.46699537862523,sub-0050737_T1w,
  2442. rpve_csf,21.32206628046402,sub-0050738_T1w,
  2443. rpve_csf,22.184098311053983,sub-0050739_T1w,
  2444. rpve_csf,22.16824064161079,sub-0050740_T1w,
  2445. rpve_csf,22.404517738096366,sub-0050741_T1w,
  2446. rpve_csf,23.417942651576293,sub-0050742_T1w,
  2447. rpve_csf,27.44672354750711,sub-0050743_T1w,
  2448. rpve_csf,26.22700721034036,sub-0050744_T1w,
  2449. rpve_csf,22.733367431700717,sub-0050745_T1w,
  2450. rpve_csf,24.161568197978053,sub-0050746_T1w,
  2451. rpve_csf,22.79961702760143,sub-0050747_T1w,
  2452. rpve_csf,25.819401246292486,sub-0050748_T1w,
  2453. rpve_csf,26.191641866397408,sub-0050749_T1w,
  2454. rpve_csf,23.633015743496212,sub-0050750_T1w,
  2455. rpve_csf,28.843795040129155,sub-0050751_T1w,
  2456. rpve_csf,22.9555415397155,sub-0050752_T1w,
  2457. rpve_csf,26.67730989296609,sub-0050753_T1w,
  2458. rpve_csf,21.92611070675262,sub-0050754_T1w,
  2459. rpve_csf,25.3975461125279,sub-0050755_T1w,
  2460. rpve_csf,23.01459560923219,sub-0050756_T1w,
  2461. rpve_csf,29.429703768388535,sub-0050757_T1w,
  2462. rpve_gm,15.460849132849985,sub-0050722_T1w,
  2463. rpve_gm,16.321422976193613,sub-0050723_T1w,
  2464. rpve_gm,13.882744758839252,sub-0050724_T1w,
  2465. rpve_gm,14.134078219013233,sub-0050725_T1w,
  2466. rpve_gm,13.277912581546856,sub-0050726_T1w,
  2467. rpve_gm,15.911659490838804,sub-0050727_T1w,
  2468. rpve_gm,17.796078846328264,sub-0050728_T1w,
  2469. rpve_gm,15.60877258421418,sub-0050730_T1w,
  2470. rpve_gm,15.086832835238418,sub-0050731_T1w,
  2471. rpve_gm,13.2016093001795,sub-0050732_T1w,
  2472. rpve_gm,14.888264987661948,sub-0050733_T1w,
  2473. rpve_gm,15.725508441492462,sub-0050734_T1w,
  2474. rpve_gm,17.021966159888674,sub-0050735_T1w,
  2475. rpve_gm,18.60777176943772,sub-0050736_T1w,
  2476. rpve_gm,12.842200067712595,sub-0050737_T1w,
  2477. rpve_gm,14.657580611532753,sub-0050738_T1w,
  2478. rpve_gm,14.106746057506664,sub-0050739_T1w,
  2479. rpve_gm,14.854196585035648,sub-0050740_T1w,
  2480. rpve_gm,15.824615152572092,sub-0050741_T1w,
  2481. rpve_gm,14.531136093312359,sub-0050742_T1w,
  2482. rpve_gm,17.242624017634938,sub-0050743_T1w,
  2483. rpve_gm,17.766739847150863,sub-0050744_T1w,
  2484. rpve_gm,16.99989738890904,sub-0050745_T1w,
  2485. rpve_gm,16.123623782787963,sub-0050746_T1w,
  2486. rpve_gm,14.976614452207315,sub-0050747_T1w,
  2487. rpve_gm,15.41222271037291,sub-0050748_T1w,
  2488. rpve_gm,17.384862182043786,sub-0050749_T1w,
  2489. rpve_gm,14.49941483793233,sub-0050750_T1w,
  2490. rpve_gm,15.78590178894958,sub-0050751_T1w,
  2491. rpve_gm,18.07735751709058,sub-0050752_T1w,
  2492. rpve_gm,15.391481957193749,sub-0050753_T1w,
  2493. rpve_gm,14.081622196303178,sub-0050754_T1w,
  2494. rpve_gm,14.073269512667249,sub-0050755_T1w,
  2495. rpve_gm,14.577688382314598,sub-0050756_T1w,
  2496. rpve_gm,16.191021841367334,sub-0050757_T1w,
  2497. rpve_wm,24.135676193692923,sub-0050722_T1w,
  2498. rpve_wm,24.086467401897092,sub-0050723_T1w,
  2499. rpve_wm,20.732372812287394,sub-0050724_T1w,
  2500. rpve_wm,21.10052956186585,sub-0050725_T1w,
  2501. rpve_wm,20.651849993816224,sub-0050726_T1w,
  2502. rpve_wm,24.053708336205183,sub-0050727_T1w,
  2503. rpve_wm,25.408747969358988,sub-0050728_T1w,
  2504. rpve_wm,24.82089867612847,sub-0050730_T1w,
  2505. rpve_wm,20.48018750647467,sub-0050731_T1w,
  2506. rpve_wm,19.80093522271265,sub-0050732_T1w,
  2507. rpve_wm,22.990968467158947,sub-0050733_T1w,
  2508. rpve_wm,23.936874376014767,sub-0050734_T1w,
  2509. rpve_wm,27.652358055408012,sub-0050735_T1w,
  2510. rpve_wm,25.730104803985764,sub-0050736_T1w,
  2511. rpve_wm,20.2760301618453,sub-0050737_T1w,
  2512. rpve_wm,22.12595506707854,sub-0050738_T1w,
  2513. rpve_wm,19.999242804960726,sub-0050739_T1w,
  2514. rpve_wm,23.14666190687984,sub-0050740_T1w,
  2515. rpve_wm,23.01912743215193,sub-0050741_T1w,
  2516. rpve_wm,21.262762926962193,sub-0050742_T1w,
  2517. rpve_wm,25.09552389630102,sub-0050743_T1w,
  2518. rpve_wm,26.112689016618276,sub-0050744_T1w,
  2519. rpve_wm,24.810359605149284,sub-0050745_T1w,
  2520. rpve_wm,25.233493189285756,sub-0050746_T1w,
  2521. rpve_wm,20.979781291237853,sub-0050747_T1w,
  2522. rpve_wm,24.420960466858173,sub-0050748_T1w,
  2523. rpve_wm,23.326999231574998,sub-0050749_T1w,
  2524. rpve_wm,20.31454008985391,sub-0050750_T1w,
  2525. rpve_wm,24.860057166566783,sub-0050751_T1w,
  2526. rpve_wm,24.688102185075273,sub-0050752_T1w,
  2527. rpve_wm,21.79867248503743,sub-0050753_T1w,
  2528. rpve_wm,21.317330499254613,sub-0050754_T1w,
  2529. rpve_wm,22.440031638982557,sub-0050755_T1w,
  2530. rpve_wm,20.90313525362919,sub-0050756_T1w,
  2531. rpve_wm,25.06497355346762,sub-0050757_T1w,
  2532. </pre>
  2533. <div class="chart-wrapper" id="chart-group12"></div>
  2534. <pre class="csvdata" id="data-csv12" style="display: none">
  2535. iqm,value,label,units
  2536. tpm_overlap_csf,0.20746640861034396,sub-0050722_T1w,
  2537. tpm_overlap_csf,0.2191365957260132,sub-0050723_T1w,
  2538. tpm_overlap_csf,0.20520730316638947,sub-0050724_T1w,
  2539. tpm_overlap_csf,0.2069169729948044,sub-0050725_T1w,
  2540. tpm_overlap_csf,0.22401297092437744,sub-0050726_T1w,
  2541. tpm_overlap_csf,0.20298407971858975,sub-0050727_T1w,
  2542. tpm_overlap_csf,0.19350099563598636,sub-0050728_T1w,
  2543. tpm_overlap_csf,0.2037311345338821,sub-0050730_T1w,
  2544. tpm_overlap_csf,0.19022557139396667,sub-0050731_T1w,
  2545. tpm_overlap_csf,0.20314277708530426,sub-0050732_T1w,
  2546. tpm_overlap_csf,0.2072415351867676,sub-0050733_T1w,
  2547. tpm_overlap_csf,0.19931122660636905,sub-0050734_T1w,
  2548. tpm_overlap_csf,0.19686032831668854,sub-0050735_T1w,
  2549. tpm_overlap_csf,0.19377385079860687,sub-0050736_T1w,
  2550. tpm_overlap_csf,0.19222809374332428,sub-0050737_T1w,
  2551. tpm_overlap_csf,0.1852153092622757,sub-0050738_T1w,
  2552. tpm_overlap_csf,0.1985952854156494,sub-0050739_T1w,
  2553. tpm_overlap_csf,0.1849575936794281,sub-0050740_T1w,
  2554. tpm_overlap_csf,0.1865091770887375,sub-0050741_T1w,
  2555. tpm_overlap_csf,0.19812922179698944,sub-0050742_T1w,
  2556. tpm_overlap_csf,0.2111801952123642,sub-0050743_T1w,
  2557. tpm_overlap_csf,0.17792649567127228,sub-0050744_T1w,
  2558. tpm_overlap_csf,0.17643916606903076,sub-0050745_T1w,
  2559. tpm_overlap_csf,0.17560234665870667,sub-0050746_T1w,
  2560. tpm_overlap_csf,0.197432205080986,sub-0050747_T1w,
  2561. tpm_overlap_csf,0.2011510729789734,sub-0050748_T1w,
  2562. tpm_overlap_csf,0.18945470452308652,sub-0050749_T1w,
  2563. tpm_overlap_csf,0.2147681713104248,sub-0050750_T1w,
  2564. tpm_overlap_csf,0.21119315922260284,sub-0050751_T1w,
  2565. tpm_overlap_csf,0.15679486095905304,sub-0050752_T1w,
  2566. tpm_overlap_csf,0.1810823231935501,sub-0050753_T1w,
  2567. tpm_overlap_csf,0.18698520958423612,sub-0050754_T1w,
  2568. tpm_overlap_csf,0.19984981417655945,sub-0050755_T1w,
  2569. tpm_overlap_csf,0.1957775205373764,sub-0050756_T1w,
  2570. tpm_overlap_csf,0.21026824414730072,sub-0050757_T1w,
  2571. tpm_overlap_gm,0.5145460367202759,sub-0050722_T1w,
  2572. tpm_overlap_gm,0.5167816281318665,sub-0050723_T1w,
  2573. tpm_overlap_gm,0.5108543634414673,sub-0050724_T1w,
  2574. tpm_overlap_gm,0.5011259317398071,sub-0050725_T1w,
  2575. tpm_overlap_gm,0.5168507099151611,sub-0050726_T1w,
  2576. tpm_overlap_gm,0.4908145368099213,sub-0050727_T1w,
  2577. tpm_overlap_gm,0.4740652441978455,sub-0050728_T1w,
  2578. tpm_overlap_gm,0.5010400414466858,sub-0050730_T1w,
  2579. tpm_overlap_gm,0.4691020250320434,sub-0050731_T1w,
  2580. tpm_overlap_gm,0.4960383176803589,sub-0050732_T1w,
  2581. tpm_overlap_gm,0.5096392631530762,sub-0050733_T1w,
  2582. tpm_overlap_gm,0.4856425523757935,sub-0050734_T1w,
  2583. tpm_overlap_gm,0.5130674839019775,sub-0050735_T1w,
  2584. tpm_overlap_gm,0.4656439125537872,sub-0050736_T1w,
  2585. tpm_overlap_gm,0.491405189037323,sub-0050737_T1w,
  2586. tpm_overlap_gm,0.4738795161247253,sub-0050738_T1w,
  2587. tpm_overlap_gm,0.4827466905117035,sub-0050739_T1w,
  2588. tpm_overlap_gm,0.4728950560092926,sub-0050740_T1w,
  2589. tpm_overlap_gm,0.4654123783111572,sub-0050741_T1w,
  2590. tpm_overlap_gm,0.48922398686409,sub-0050742_T1w,
  2591. tpm_overlap_gm,0.4878768026828766,sub-0050743_T1w,
  2592. tpm_overlap_gm,0.4530501663684845,sub-0050744_T1w,
  2593. tpm_overlap_gm,0.4504912495613098,sub-0050745_T1w,
  2594. tpm_overlap_gm,0.4703220725059509,sub-0050746_T1w,
  2595. tpm_overlap_gm,0.4847339391708374,sub-0050747_T1w,
  2596. tpm_overlap_gm,0.5057051181793213,sub-0050748_T1w,
  2597. tpm_overlap_gm,0.4645652174949646,sub-0050749_T1w,
  2598. tpm_overlap_gm,0.4871332347393036,sub-0050750_T1w,
  2599. tpm_overlap_gm,0.5133268833160399,sub-0050751_T1w,
  2600. tpm_overlap_gm,0.4244258105754852,sub-0050752_T1w,
  2601. tpm_overlap_gm,0.4705902934074402,sub-0050753_T1w,
  2602. tpm_overlap_gm,0.477280467748642,sub-0050754_T1w,
  2603. tpm_overlap_gm,0.5070017576217651,sub-0050755_T1w,
  2604. tpm_overlap_gm,0.4816614389419556,sub-0050756_T1w,
  2605. tpm_overlap_gm,0.5091212391853333,sub-0050757_T1w,
  2606. tpm_overlap_wm,0.5578857660293579,sub-0050722_T1w,
  2607. tpm_overlap_wm,0.5552253127098083,sub-0050723_T1w,
  2608. tpm_overlap_wm,0.5532065033912659,sub-0050724_T1w,
  2609. tpm_overlap_wm,0.5520919561386108,sub-0050725_T1w,
  2610. tpm_overlap_wm,0.5554571151733398,sub-0050726_T1w,
  2611. tpm_overlap_wm,0.5596475601196289,sub-0050727_T1w,
  2612. tpm_overlap_wm,0.5692471861839294,sub-0050728_T1w,
  2613. tpm_overlap_wm,0.5369767546653748,sub-0050730_T1w,
  2614. tpm_overlap_wm,0.5456364154815674,sub-0050731_T1w,
  2615. tpm_overlap_wm,0.5394745469093323,sub-0050732_T1w,
  2616. tpm_overlap_wm,0.5529394745826721,sub-0050733_T1w,
  2617. tpm_overlap_wm,0.54179447889328,sub-0050734_T1w,
  2618. tpm_overlap_wm,0.5408986806869507,sub-0050735_T1w,
  2619. tpm_overlap_wm,0.559327244758606,sub-0050736_T1w,
  2620. tpm_overlap_wm,0.5314710736274719,sub-0050737_T1w,
  2621. tpm_overlap_wm,0.5457623600959778,sub-0050738_T1w,
  2622. tpm_overlap_wm,0.5698479413986206,sub-0050739_T1w,
  2623. tpm_overlap_wm,0.5434799790382385,sub-0050740_T1w,
  2624. tpm_overlap_wm,0.5636192560195923,sub-0050741_T1w,
  2625. tpm_overlap_wm,0.553678035736084,sub-0050742_T1w,
  2626. tpm_overlap_wm,0.5657252073287964,sub-0050743_T1w,
  2627. tpm_overlap_wm,0.5301360487937927,sub-0050744_T1w,
  2628. tpm_overlap_wm,0.5360817313194275,sub-0050745_T1w,
  2629. tpm_overlap_wm,0.5229623317718506,sub-0050746_T1w,
  2630. tpm_overlap_wm,0.566973865032196,sub-0050747_T1w,
  2631. tpm_overlap_wm,0.5600405335426331,sub-0050748_T1w,
  2632. tpm_overlap_wm,0.5749397873878479,sub-0050749_T1w,
  2633. tpm_overlap_wm,0.5617737770080566,sub-0050750_T1w,
  2634. tpm_overlap_wm,0.5426111817359924,sub-0050751_T1w,
  2635. tpm_overlap_wm,0.550850510597229,sub-0050752_T1w,
  2636. tpm_overlap_wm,0.5300394296646118,sub-0050753_T1w,
  2637. tpm_overlap_wm,0.5367935299873352,sub-0050754_T1w,
  2638. tpm_overlap_wm,0.5408679246902466,sub-0050755_T1w,
  2639. tpm_overlap_wm,0.5690958499908447,sub-0050756_T1w,
  2640. tpm_overlap_wm,0.5520581603050232,sub-0050757_T1w,
  2641. </pre>
  2642. <div class="chart-wrapper" id="chart-group13"></div>
  2643. <pre class="csvdata" id="data-csv13" style="display: none">
  2644. iqm,value,label,units
  2645. summary_bg_mean,10.118104934692383,sub-0050722_T1w,
  2646. summary_bg_mean,8.113649368286133,sub-0050723_T1w,
  2647. summary_bg_mean,15.26684856414795,sub-0050724_T1w,
  2648. summary_bg_mean,10.915411949157717,sub-0050725_T1w,
  2649. summary_bg_mean,14.926342964172365,sub-0050726_T1w,
  2650. summary_bg_mean,10.314870834350586,sub-0050727_T1w,
  2651. summary_bg_mean,7.223426342010497,sub-0050728_T1w,
  2652. summary_bg_mean,10.556480407714844,sub-0050730_T1w,
  2653. summary_bg_mean,8.000173568725586,sub-0050731_T1w,
  2654. summary_bg_mean,13.404205322265625,sub-0050732_T1w,
  2655. summary_bg_mean,10.940739631652832,sub-0050733_T1w,
  2656. summary_bg_mean,7.924126148223878,sub-0050734_T1w,
  2657. summary_bg_mean,7.4454078674316415,sub-0050735_T1w,
  2658. summary_bg_mean,9.76804256439209,sub-0050736_T1w,
  2659. summary_bg_mean,14.133426666259766,sub-0050737_T1w,
  2660. summary_bg_mean,9.294353485107422,sub-0050738_T1w,
  2661. summary_bg_mean,10.076634407043457,sub-0050739_T1w,
  2662. summary_bg_mean,8.226244926452638,sub-0050740_T1w,
  2663. summary_bg_mean,6.075192928314209,sub-0050741_T1w,
  2664. summary_bg_mean,9.805851936340332,sub-0050742_T1w,
  2665. summary_bg_mean,6.983067989349365,sub-0050743_T1w,
  2666. summary_bg_mean,11.243664741516113,sub-0050744_T1w,
  2667. summary_bg_mean,6.339893341064452,sub-0050745_T1w,
  2668. summary_bg_mean,13.236310005187988,sub-0050746_T1w,
  2669. summary_bg_mean,8.752779006958008,sub-0050747_T1w,
  2670. summary_bg_mean,11.58004665374756,sub-0050748_T1w,
  2671. summary_bg_mean,9.188411712646484,sub-0050749_T1w,
  2672. summary_bg_mean,15.96770477294922,sub-0050750_T1w,
  2673. summary_bg_mean,13.838112831115724,sub-0050751_T1w,
  2674. summary_bg_mean,10.860376358032227,sub-0050752_T1w,
  2675. summary_bg_mean,13.512832641601562,sub-0050753_T1w,
  2676. summary_bg_mean,9.056028366088867,sub-0050754_T1w,
  2677. summary_bg_mean,4.841766834259033,sub-0050755_T1w,
  2678. summary_bg_mean,9.799744606018066,sub-0050756_T1w,
  2679. summary_bg_mean,12.080673217773438,sub-0050757_T1w,
  2680. summary_bg_median,8.588292121887207,sub-0050722_T1w,
  2681. summary_bg_median,7.19669246673584,sub-0050723_T1w,
  2682. summary_bg_median,9.274515151977539,sub-0050724_T1w,
  2683. summary_bg_median,8.535405158996582,sub-0050725_T1w,
  2684. summary_bg_median,9.089921951293944,sub-0050726_T1w,
  2685. summary_bg_median,7.09492301940918,sub-0050727_T1w,
  2686. summary_bg_median,4.0277624130249015,sub-0050728_T1w,
  2687. summary_bg_median,7.387130737304687,sub-0050730_T1w,
  2688. summary_bg_median,4.367652893066406,sub-0050731_T1w,
  2689. summary_bg_median,12.138483047485352,sub-0050732_T1w,
  2690. summary_bg_median,8.151246070861816,sub-0050733_T1w,
  2691. summary_bg_median,4.270805358886719,sub-0050734_T1w,
  2692. summary_bg_median,7.151243686676025,sub-0050735_T1w,
  2693. summary_bg_median,7.081040859222412,sub-0050736_T1w,
  2694. summary_bg_median,11.69686794281006,sub-0050737_T1w,
  2695. summary_bg_median,8.221099853515625,sub-0050738_T1w,
  2696. summary_bg_median,7.995774745941162,sub-0050739_T1w,
  2697. summary_bg_median,7.715301513671875,sub-0050740_T1w,
  2698. summary_bg_median,4.499070167541504,sub-0050741_T1w,
  2699. summary_bg_median,8.403108596801758,sub-0050742_T1w,
  2700. summary_bg_median,3.7609896659851074,sub-0050743_T1w,
  2701. summary_bg_median,8.332714080810549,sub-0050744_T1w,
  2702. summary_bg_median,3.6210992336273193,sub-0050745_T1w,
  2703. summary_bg_median,9.699542999267578,sub-0050746_T1w,
  2704. summary_bg_median,4.403521537780762,sub-0050747_T1w,
  2705. summary_bg_median,7.6714839935302725,sub-0050748_T1w,
  2706. summary_bg_median,7.89390230178833,sub-0050749_T1w,
  2707. summary_bg_median,12.804380416870115,sub-0050750_T1w,
  2708. summary_bg_median,10.55564785003662,sub-0050751_T1w,
  2709. summary_bg_median,7.9103145599365225,sub-0050752_T1w,
  2710. summary_bg_median,8.609288215637207,sub-0050753_T1w,
  2711. summary_bg_median,8.41463565826416,sub-0050754_T1w,
  2712. summary_bg_median,4.452824592590332,sub-0050755_T1w,
  2713. summary_bg_median,9.424574851989746,sub-0050756_T1w,
  2714. summary_bg_median,8.331093788146973,sub-0050757_T1w,
  2715. summary_bg_stdv,8.824540138244629,sub-0050722_T1w,
  2716. summary_bg_stdv,9.157544136047363,sub-0050723_T1w,
  2717. summary_bg_stdv,14.461418151855467,sub-0050724_T1w,
  2718. summary_bg_stdv,9.798322677612305,sub-0050725_T1w,
  2719. summary_bg_stdv,15.427694320678713,sub-0050726_T1w,
  2720. summary_bg_stdv,9.315263748168944,sub-0050727_T1w,
  2721. summary_bg_stdv,6.449097633361816,sub-0050728_T1w,
  2722. summary_bg_stdv,10.161760330200195,sub-0050730_T1w,
  2723. summary_bg_stdv,7.3460655212402335,sub-0050731_T1w,
  2724. summary_bg_stdv,11.927408218383787,sub-0050732_T1w,
  2725. summary_bg_stdv,10.026666641235352,sub-0050733_T1w,
  2726. summary_bg_stdv,9.027512550354004,sub-0050734_T1w,
  2727. summary_bg_stdv,7.105969429016112,sub-0050735_T1w,
  2728. summary_bg_stdv,8.230729103088379,sub-0050736_T1w,
  2729. summary_bg_stdv,13.175614356994627,sub-0050737_T1w,
  2730. summary_bg_stdv,7.700941562652588,sub-0050738_T1w,
  2731. summary_bg_stdv,8.738400459289549,sub-0050739_T1w,
  2732. summary_bg_stdv,7.287247180938722,sub-0050740_T1w,
  2733. summary_bg_stdv,5.972032070159912,sub-0050741_T1w,
  2734. summary_bg_stdv,9.06825065612793,sub-0050742_T1w,
  2735. summary_bg_stdv,6.488694190979004,sub-0050743_T1w,
  2736. summary_bg_stdv,12.178382873535154,sub-0050744_T1w,
  2737. summary_bg_stdv,5.7483158111572275,sub-0050745_T1w,
  2738. summary_bg_stdv,10.938182830810547,sub-0050746_T1w,
  2739. summary_bg_stdv,8.972444534301758,sub-0050747_T1w,
  2740. summary_bg_stdv,10.013644218444824,sub-0050748_T1w,
  2741. summary_bg_stdv,9.957127571105957,sub-0050749_T1w,
  2742. summary_bg_stdv,17.383094787597653,sub-0050750_T1w,
  2743. summary_bg_stdv,12.84235954284668,sub-0050751_T1w,
  2744. summary_bg_stdv,9.684674263000488,sub-0050752_T1w,
  2745. summary_bg_stdv,14.796926498413086,sub-0050753_T1w,
  2746. summary_bg_stdv,8.700151443481445,sub-0050754_T1w,
  2747. summary_bg_stdv,5.087016582489014,sub-0050755_T1w,
  2748. summary_bg_stdv,10.027947425842283,sub-0050756_T1w,
  2749. summary_bg_stdv,11.03658390045166,sub-0050757_T1w,
  2750. summary_bg_mad,6.395374298095702,sub-0050722_T1w,
  2751. summary_bg_mad,5.345822334289551,sub-0050723_T1w,
  2752. summary_bg_mad,13.104586601257324,sub-0050724_T1w,
  2753. summary_bg_mad,6.363587379455566,sub-0050725_T1w,
  2754. summary_bg_mad,6.891283988952638,sub-0050726_T1w,
  2755. summary_bg_mad,5.322412490844727,sub-0050727_T1w,
  2756. summary_bg_mad,5.891206741333008,sub-0050728_T1w,
  2757. summary_bg_mad,5.504773139953613,sub-0050730_T1w,
  2758. summary_bg_mad,6.453996181488037,sub-0050731_T1w,
  2759. summary_bg_mad,11.966333389282227,sub-0050732_T1w,
  2760. summary_bg_mad,6.114969253540039,sub-0050733_T1w,
  2761. summary_bg_mad,6.331905841827393,sub-0050734_T1w,
  2762. summary_bg_mad,5.317090034484863,sub-0050735_T1w,
  2763. summary_bg_mad,5.308441638946533,sub-0050736_T1w,
  2764. summary_bg_mad,11.556618690490724,sub-0050737_T1w,
  2765. summary_bg_mad,6.114846229553223,sub-0050738_T1w,
  2766. summary_bg_mad,5.961228847503662,sub-0050739_T1w,
  2767. summary_bg_mad,5.727827072143555,sub-0050740_T1w,
  2768. summary_bg_mad,6.6703314781188965,sub-0050741_T1w,
  2769. summary_bg_mad,6.265439987182617,sub-0050742_T1w,
  2770. summary_bg_mad,5.576051712036133,sub-0050743_T1w,
  2771. summary_bg_mad,6.209433555603027,sub-0050744_T1w,
  2772. summary_bg_mad,5.327190399169922,sub-0050745_T1w,
  2773. summary_bg_mad,7.246647357940674,sub-0050746_T1w,
  2774. summary_bg_mad,6.528670787811278,sub-0050747_T1w,
  2775. summary_bg_mad,5.802643775939941,sub-0050748_T1w,
  2776. summary_bg_mad,5.908155918121338,sub-0050749_T1w,
  2777. summary_bg_mad,12.638001441955565,sub-0050750_T1w,
  2778. summary_bg_mad,10.431318283081056,sub-0050751_T1w,
  2779. summary_bg_mad,5.931941509246826,sub-0050752_T1w,
  2780. summary_bg_mad,6.4705305099487305,sub-0050753_T1w,
  2781. summary_bg_mad,6.259984493255615,sub-0050754_T1w,
  2782. summary_bg_mad,6.601767539978027,sub-0050755_T1w,
  2783. summary_bg_mad,6.994075298309326,sub-0050756_T1w,
  2784. summary_bg_mad,6.230751991271973,sub-0050757_T1w,
  2785. summary_bg_k,2.7089551038543758,sub-0050722_T1w,
  2786. summary_bg_k,232.32043078732082,sub-0050723_T1w,
  2787. summary_bg_k,3.731824896909417,sub-0050724_T1w,
  2788. summary_bg_k,3.85214255343244,sub-0050725_T1w,
  2789. summary_bg_k,17.725788932884733,sub-0050726_T1w,
  2790. summary_bg_k,21.149519581827512,sub-0050727_T1w,
  2791. summary_bg_k,3.2882225433095043,sub-0050728_T1w,
  2792. summary_bg_k,9.657067024944494,sub-0050730_T1w,
  2793. summary_bg_k,2.7993398737682424,sub-0050731_T1w,
  2794. summary_bg_k,4.8125243130255875,sub-0050732_T1w,
  2795. summary_bg_k,3.3796477378373884,sub-0050733_T1w,
  2796. summary_bg_k,10.539522818225082,sub-0050734_T1w,
  2797. summary_bg_k,4.297862692762615,sub-0050735_T1w,
  2798. summary_bg_k,5.552554236579919,sub-0050736_T1w,
  2799. summary_bg_k,5.227751079282628,sub-0050737_T1w,
  2800. summary_bg_k,2.7494339103517875,sub-0050738_T1w,
  2801. summary_bg_k,4.673721369229787,sub-0050739_T1w,
  2802. summary_bg_k,2.951510224089735,sub-0050740_T1w,
  2803. summary_bg_k,3.876711273891706,sub-0050741_T1w,
  2804. summary_bg_k,6.277627558407002,sub-0050742_T1w,
  2805. summary_bg_k,2.74371292998142,sub-0050743_T1w,
  2806. summary_bg_k,15.560056841409486,sub-0050744_T1w,
  2807. summary_bg_k,4.1088774223136495,sub-0050745_T1w,
  2808. summary_bg_k,5.083786526613119,sub-0050746_T1w,
  2809. summary_bg_k,6.784640162873815,sub-0050747_T1w,
  2810. summary_bg_k,3.197189714112122,sub-0050748_T1w,
  2811. summary_bg_k,7.724722067011198,sub-0050749_T1w,
  2812. summary_bg_k,12.01855548648758,sub-0050750_T1w,
  2813. summary_bg_k,6.381260460954612,sub-0050751_T1w,
  2814. summary_bg_k,8.092426256062973,sub-0050752_T1w,
  2815. summary_bg_k,82.13096276640434,sub-0050753_T1w,
  2816. summary_bg_k,3.5230617410424223,sub-0050754_T1w,
  2817. summary_bg_k,14.00609594128765,sub-0050755_T1w,
  2818. summary_bg_k,11.348723013616615,sub-0050756_T1w,
  2819. summary_bg_k,6.053208472465857,sub-0050757_T1w,
  2820. summary_bg_p05,0.0,sub-0050722_T1w,
  2821. summary_bg_p05,0.0,sub-0050723_T1w,
  2822. summary_bg_p05,0.0,sub-0050724_T1w,
  2823. summary_bg_p05,0.0,sub-0050725_T1w,
  2824. summary_bg_p05,0.0,sub-0050726_T1w,
  2825. summary_bg_p05,0.0,sub-0050727_T1w,
  2826. summary_bg_p05,0.0,sub-0050728_T1w,
  2827. summary_bg_p05,0.0,sub-0050730_T1w,
  2828. summary_bg_p05,0.0,sub-0050731_T1w,
  2829. summary_bg_p05,0.0,sub-0050732_T1w,
  2830. summary_bg_p05,0.0,sub-0050733_T1w,
  2831. summary_bg_p05,0.0,sub-0050734_T1w,
  2832. summary_bg_p05,0.0,sub-0050735_T1w,
  2833. summary_bg_p05,0.0,sub-0050736_T1w,
  2834. summary_bg_p05,0.0,sub-0050737_T1w,
  2835. summary_bg_p05,0.0,sub-0050738_T1w,
  2836. summary_bg_p05,0.0,sub-0050739_T1w,
  2837. summary_bg_p05,0.0,sub-0050740_T1w,
  2838. summary_bg_p05,0.0,sub-0050741_T1w,
  2839. summary_bg_p05,0.0,sub-0050742_T1w,
  2840. summary_bg_p05,0.0,sub-0050743_T1w,
  2841. summary_bg_p05,0.0,sub-0050744_T1w,
  2842. summary_bg_p05,0.0,sub-0050745_T1w,
  2843. summary_bg_p05,0.0,sub-0050746_T1w,
  2844. summary_bg_p05,0.0,sub-0050747_T1w,
  2845. summary_bg_p05,0.0,sub-0050748_T1w,
  2846. summary_bg_p05,0.0,sub-0050749_T1w,
  2847. summary_bg_p05,0.0,sub-0050750_T1w,
  2848. summary_bg_p05,0.0,sub-0050751_T1w,
  2849. summary_bg_p05,0.0,sub-0050752_T1w,
  2850. summary_bg_p05,0.0,sub-0050753_T1w,
  2851. summary_bg_p05,0.0,sub-0050754_T1w,
  2852. summary_bg_p05,0.0,sub-0050755_T1w,
  2853. summary_bg_p05,0.0,sub-0050756_T1w,
  2854. summary_bg_p05,0.0,sub-0050757_T1w,
  2855. summary_bg_p95,25.975649738311766,sub-0050722_T1w,
  2856. summary_bg_p95,21.83529586791992,sub-0050723_T1w,
  2857. summary_bg_p95,45.3630090713501,sub-0050724_T1w,
  2858. summary_bg_p95,29.938691711425786,sub-0050725_T1w,
  2859. summary_bg_p95,40.376465034484866,sub-0050726_T1w,
  2860. summary_bg_p95,27.999137496948247,sub-0050727_T1w,
  2861. summary_bg_p95,19.840835571289066,sub-0050728_T1w,
  2862. summary_bg_p95,29.56677742004395,sub-0050730_T1w,
  2863. summary_bg_p95,21.612271499633795,sub-0050731_T1w,
  2864. summary_bg_p95,36.79760322570801,sub-0050732_T1w,
  2865. summary_bg_p95,29.05464839935303,sub-0050733_T1w,
  2866. summary_bg_p95,25.739884567260734,sub-0050734_T1w,
  2867. summary_bg_p95,21.78633918762207,sub-0050735_T1w,
  2868. summary_bg_p95,24.75753479003907,sub-0050736_T1w,
  2869. summary_bg_p95,39.39657974243164,sub-0050737_T1w,
  2870. summary_bg_p95,24.69573497772217,sub-0050738_T1w,
  2871. summary_bg_p95,27.924924659729005,sub-0050739_T1w,
  2872. summary_bg_p95,23.17284631729126,sub-0050740_T1w,
  2873. summary_bg_p95,18.13554582595825,sub-0050741_T1w,
  2874. summary_bg_p95,25.770174026489254,sub-0050742_T1w,
  2875. summary_bg_p95,18.748087215423578,sub-0050743_T1w,
  2876. summary_bg_p95,33.387026405334474,sub-0050744_T1w,
  2877. summary_bg_p95,17.90083885192871,sub-0050745_T1w,
  2878. summary_bg_p95,33.84562110900879,sub-0050746_T1w,
  2879. summary_bg_p95,26.078420162200928,sub-0050747_T1w,
  2880. summary_bg_p95,30.588971614837646,sub-0050748_T1w,
  2881. summary_bg_p95,28.0024528503418,sub-0050749_T1w,
  2882. summary_bg_p95,47.365595626831045,sub-0050750_T1w,
  2883. summary_bg_p95,38.909922790527354,sub-0050751_T1w,
  2884. summary_bg_p95,27.961201190948486,sub-0050752_T1w,
  2885. summary_bg_p95,38.76475524902343,sub-0050753_T1w,
  2886. summary_bg_p95,25.578670692443854,sub-0050754_T1w,
  2887. summary_bg_p95,13.496608448028564,sub-0050755_T1w,
  2888. summary_bg_p95,28.483501434326172,sub-0050756_T1w,
  2889. summary_bg_p95,33.38786945343018,sub-0050757_T1w,
  2890. </pre>
  2891. <div class="chart-wrapper" id="chart-group14"></div>
  2892. <pre class="csvdata" id="data-csv14" style="display: none">
  2893. iqm,value,label,units
  2894. summary_csf_mean,192.18893432617188,sub-0050722_T1w,
  2895. summary_csf_mean,202.73800659179688,sub-0050723_T1w,
  2896. summary_csf_mean,230.97544860839844,sub-0050724_T1w,
  2897. summary_csf_mean,208.9314117431641,sub-0050725_T1w,
  2898. summary_csf_mean,226.33364868164062,sub-0050726_T1w,
  2899. summary_csf_mean,222.0803985595703,sub-0050727_T1w,
  2900. summary_csf_mean,254.5719451904297,sub-0050728_T1w,
  2901. summary_csf_mean,193.5201873779297,sub-0050730_T1w,
  2902. summary_csf_mean,212.4806060791016,sub-0050731_T1w,
  2903. summary_csf_mean,215.1025390625,sub-0050732_T1w,
  2904. summary_csf_mean,222.0866241455078,sub-0050733_T1w,
  2905. summary_csf_mean,210.5437774658203,sub-0050734_T1w,
  2906. summary_csf_mean,229.6103515625,sub-0050735_T1w,
  2907. summary_csf_mean,264.60635375976557,sub-0050736_T1w,
  2908. summary_csf_mean,235.36595153808597,sub-0050737_T1w,
  2909. summary_csf_mean,267.6280517578125,sub-0050738_T1w,
  2910. summary_csf_mean,269.517578125,sub-0050739_T1w,
  2911. summary_csf_mean,224.0161437988281,sub-0050740_T1w,
  2912. summary_csf_mean,255.7434844970703,sub-0050741_T1w,
  2913. summary_csf_mean,260.79953002929693,sub-0050742_T1w,
  2914. summary_csf_mean,199.24497985839844,sub-0050743_T1w,
  2915. summary_csf_mean,220.26568603515625,sub-0050744_T1w,
  2916. summary_csf_mean,261.248779296875,sub-0050745_T1w,
  2917. summary_csf_mean,232.13156127929688,sub-0050746_T1w,
  2918. summary_csf_mean,278.25479125976557,sub-0050747_T1w,
  2919. summary_csf_mean,230.51808166503903,sub-0050748_T1w,
  2920. summary_csf_mean,269.23056030273443,sub-0050749_T1w,
  2921. summary_csf_mean,235.6419219970703,sub-0050750_T1w,
  2922. summary_csf_mean,192.96505737304688,sub-0050751_T1w,
  2923. summary_csf_mean,276.21585083007807,sub-0050752_T1w,
  2924. summary_csf_mean,207.36993408203125,sub-0050753_T1w,
  2925. summary_csf_mean,224.3222961425781,sub-0050754_T1w,
  2926. summary_csf_mean,221.58517456054688,sub-0050755_T1w,
  2927. summary_csf_mean,225.9785919189453,sub-0050756_T1w,
  2928. summary_csf_mean,195.9451141357422,sub-0050757_T1w,
  2929. summary_csf_median,188.267578125,sub-0050722_T1w,
  2930. summary_csf_median,169.06689453125,sub-0050723_T1w,
  2931. summary_csf_median,249.85227966308597,sub-0050724_T1w,
  2932. summary_csf_median,212.20545959472656,sub-0050725_T1w,
  2933. summary_csf_median,239.4673156738281,sub-0050726_T1w,
  2934. summary_csf_median,242.67169189453125,sub-0050727_T1w,
  2935. summary_csf_median,272.37478637695307,sub-0050728_T1w,
  2936. summary_csf_median,198.24395751953125,sub-0050730_T1w,
  2937. summary_csf_median,217.3548889160156,sub-0050731_T1w,
  2938. summary_csf_median,213.25067138671875,sub-0050732_T1w,
  2939. summary_csf_median,221.36212158203125,sub-0050733_T1w,
  2940. summary_csf_median,219.5565490722656,sub-0050734_T1w,
  2941. summary_csf_median,213.2028045654297,sub-0050735_T1w,
  2942. summary_csf_median,276.6092529296875,sub-0050736_T1w,
  2943. summary_csf_median,251.3015899658203,sub-0050737_T1w,
  2944. summary_csf_median,272.43331909179693,sub-0050738_T1w,
  2945. summary_csf_median,261.04766845703125,sub-0050739_T1w,
  2946. summary_csf_median,243.2115631103516,sub-0050740_T1w,
  2947. summary_csf_median,268.9867553710937,sub-0050741_T1w,
  2948. summary_csf_median,280.6566772460937,sub-0050742_T1w,
  2949. summary_csf_median,207.208984375,sub-0050743_T1w,
  2950. summary_csf_median,230.52003479003903,sub-0050744_T1w,
  2951. summary_csf_median,271.66842651367193,sub-0050745_T1w,
  2952. summary_csf_median,242.6604156494141,sub-0050746_T1w,
  2953. summary_csf_median,284.3944396972656,sub-0050747_T1w,
  2954. summary_csf_median,244.91079711914062,sub-0050748_T1w,
  2955. summary_csf_median,282.67333984375,sub-0050749_T1w,
  2956. summary_csf_median,245.79368591308597,sub-0050750_T1w,
  2957. summary_csf_median,186.9837188720703,sub-0050751_T1w,
  2958. summary_csf_median,286.804443359375,sub-0050752_T1w,
  2959. summary_csf_median,218.72496032714844,sub-0050753_T1w,
  2960. summary_csf_median,234.67845153808597,sub-0050754_T1w,
  2961. summary_csf_median,240.5210876464844,sub-0050755_T1w,
  2962. summary_csf_median,246.2024383544922,sub-0050756_T1w,
  2963. summary_csf_median,197.21710205078125,sub-0050757_T1w,
  2964. summary_csf_stdv,184.73089599609372,sub-0050722_T1w,
  2965. summary_csf_stdv,220.30758666992188,sub-0050723_T1w,
  2966. summary_csf_stdv,134.46463012695312,sub-0050724_T1w,
  2967. summary_csf_stdv,137.85752868652344,sub-0050725_T1w,
  2968. summary_csf_stdv,132.53671264648438,sub-0050726_T1w,
  2969. summary_csf_stdv,105.42947387695312,sub-0050727_T1w,
  2970. summary_csf_stdv,100.46543884277344,sub-0050728_T1w,
  2971. summary_csf_stdv,113.88906860351562,sub-0050730_T1w,
  2972. summary_csf_stdv,138.43272399902344,sub-0050731_T1w,
  2973. summary_csf_stdv,162.11085510253906,sub-0050732_T1w,
  2974. summary_csf_stdv,238.28933715820312,sub-0050733_T1w,
  2975. summary_csf_stdv,156.5648193359375,sub-0050734_T1w,
  2976. summary_csf_stdv,236.86534118652344,sub-0050735_T1w,
  2977. summary_csf_stdv,90.40200805664062,sub-0050736_T1w,
  2978. summary_csf_stdv,102.22528076171876,sub-0050737_T1w,
  2979. summary_csf_stdv,152.0402374267578,sub-0050738_T1w,
  2980. summary_csf_stdv,259.61929321289057,sub-0050739_T1w,
  2981. summary_csf_stdv,90.94352722167969,sub-0050740_T1w,
  2982. summary_csf_stdv,96.5528564453125,sub-0050741_T1w,
  2983. summary_csf_stdv,109.98814392089844,sub-0050742_T1w,
  2984. summary_csf_stdv,125.5860595703125,sub-0050743_T1w,
  2985. summary_csf_stdv,87.75318908691406,sub-0050744_T1w,
  2986. summary_csf_stdv,79.7673110961914,sub-0050745_T1w,
  2987. summary_csf_stdv,104.95579528808594,sub-0050746_T1w,
  2988. summary_csf_stdv,153.1670684814453,sub-0050747_T1w,
  2989. summary_csf_stdv,114.01432037353516,sub-0050748_T1w,
  2990. summary_csf_stdv,149.69700622558594,sub-0050749_T1w,
  2991. summary_csf_stdv,117.91018676757812,sub-0050750_T1w,
  2992. summary_csf_stdv,141.2398223876953,sub-0050751_T1w,
  2993. summary_csf_stdv,81.32273864746094,sub-0050752_T1w,
  2994. summary_csf_stdv,114.10319519042969,sub-0050753_T1w,
  2995. summary_csf_stdv,115.5906982421875,sub-0050754_T1w,
  2996. summary_csf_stdv,125.52948760986328,sub-0050755_T1w,
  2997. summary_csf_stdv,107.49040985107422,sub-0050756_T1w,
  2998. summary_csf_stdv,186.0262908935547,sub-0050757_T1w,
  2999. summary_csf_mad,139.52508544921878,sub-0050722_T1w,
  3000. summary_csf_mad,152.80633544921875,sub-0050723_T1w,
  3001. summary_csf_mad,134.84819030761722,sub-0050724_T1w,
  3002. summary_csf_mad,155.72320556640625,sub-0050725_T1w,
  3003. summary_csf_mad,141.54345703125,sub-0050726_T1w,
  3004. summary_csf_mad,102.98343658447266,sub-0050727_T1w,
  3005. summary_csf_mad,90.33560180664062,sub-0050728_T1w,
  3006. summary_csf_mad,130.41441345214844,sub-0050730_T1w,
  3007. summary_csf_mad,148.4666290283203,sub-0050731_T1w,
  3008. summary_csf_mad,135.55203247070312,sub-0050732_T1w,
  3009. summary_csf_mad,138.95387268066406,sub-0050733_T1w,
  3010. summary_csf_mad,126.67189025878906,sub-0050734_T1w,
  3011. summary_csf_mad,121.85101318359376,sub-0050735_T1w,
  3012. summary_csf_mad,80.30502319335938,sub-0050736_T1w,
  3013. summary_csf_mad,74.12877655029297,sub-0050737_T1w,
  3014. summary_csf_mad,76.0535888671875,sub-0050738_T1w,
  3015. summary_csf_mad,96.58094024658205,sub-0050739_T1w,
  3016. summary_csf_mad,74.6404800415039,sub-0050740_T1w,
  3017. summary_csf_mad,83.92683410644531,sub-0050741_T1w,
  3018. summary_csf_mad,100.87030029296876,sub-0050742_T1w,
  3019. summary_csf_mad,134.37760925292972,sub-0050743_T1w,
  3020. summary_csf_mad,85.94168090820312,sub-0050744_T1w,
  3021. summary_csf_mad,72.6219711303711,sub-0050745_T1w,
  3022. summary_csf_mad,112.27189636230469,sub-0050746_T1w,
  3023. summary_csf_mad,88.83039855957031,sub-0050747_T1w,
  3024. summary_csf_mad,84.49832916259766,sub-0050748_T1w,
  3025. summary_csf_mad,91.9005889892578,sub-0050749_T1w,
  3026. summary_csf_mad,132.75680541992188,sub-0050750_T1w,
  3027. summary_csf_mad,128.90188598632812,sub-0050751_T1w,
  3028. summary_csf_mad,72.975830078125,sub-0050752_T1w,
  3029. summary_csf_mad,122.23794555664062,sub-0050753_T1w,
  3030. summary_csf_mad,102.52664184570312,sub-0050754_T1w,
  3031. summary_csf_mad,81.17369842529297,sub-0050755_T1w,
  3032. summary_csf_mad,108.12146759033205,sub-0050756_T1w,
  3033. summary_csf_mad,139.24769592285156,sub-0050757_T1w,
  3034. summary_csf_k,124.06106608932569,sub-0050722_T1w,
  3035. summary_csf_k,67.34144362046632,sub-0050723_T1w,
  3036. summary_csf_k,30.20344471819571,sub-0050724_T1w,
  3037. summary_csf_k,55.510734768428634,sub-0050725_T1w,
  3038. summary_csf_k,36.94959590301443,sub-0050726_T1w,
  3039. summary_csf_k,-0.7115796635945291,sub-0050727_T1w,
  3040. summary_csf_k,0.16938139773155525,sub-0050728_T1w,
  3041. summary_csf_k,47.73804684125664,sub-0050730_T1w,
  3042. summary_csf_k,129.0607707437596,sub-0050731_T1w,
  3043. summary_csf_k,126.13547235588587,sub-0050732_T1w,
  3044. summary_csf_k,82.31201343891998,sub-0050733_T1w,
  3045. summary_csf_k,99.87677349193984,sub-0050734_T1w,
  3046. summary_csf_k,69.8004875572684,sub-0050735_T1w,
  3047. summary_csf_k,0.4724006570003101,sub-0050736_T1w,
  3048. summary_csf_k,132.1018894158422,sub-0050737_T1w,
  3049. summary_csf_k,203.2177276937407,sub-0050738_T1w,
  3050. summary_csf_k,74.14219970584739,sub-0050739_T1w,
  3051. summary_csf_k,0.6444038619944932,sub-0050740_T1w,
  3052. summary_csf_k,38.849877187471606,sub-0050741_T1w,
  3053. summary_csf_k,0.003541273554269253,sub-0050742_T1w,
  3054. summary_csf_k,98.37030611214209,sub-0050743_T1w,
  3055. summary_csf_k,-0.1167448818412411,sub-0050744_T1w,
  3056. summary_csf_k,0.6588312056356571,sub-0050745_T1w,
  3057. summary_csf_k,-0.5684705953911737,sub-0050746_T1w,
  3058. summary_csf_k,166.47967355143274,sub-0050747_T1w,
  3059. summary_csf_k,148.3671973833829,sub-0050748_T1w,
  3060. summary_csf_k,233.8788439465937,sub-0050749_T1w,
  3061. summary_csf_k,-0.3891128585006016,sub-0050750_T1w,
  3062. summary_csf_k,130.08868615364716,sub-0050751_T1w,
  3063. summary_csf_k,1.0016585713950965,sub-0050752_T1w,
  3064. summary_csf_k,18.293422292722234,sub-0050753_T1w,
  3065. summary_csf_k,77.32683750432325,sub-0050754_T1w,
  3066. summary_csf_k,86.69540856431887,sub-0050755_T1w,
  3067. summary_csf_k,-0.2284998802095175,sub-0050756_T1w,
  3068. summary_csf_k,148.1117831598641,sub-0050757_T1w,
  3069. summary_csf_p05,28.82173824310303,sub-0050722_T1w,
  3070. summary_csf_p05,28.94069099426269,sub-0050723_T1w,
  3071. summary_csf_p05,34.1175479888916,sub-0050724_T1w,
  3072. summary_csf_p05,32.305259704589844,sub-0050725_T1w,
  3073. summary_csf_p05,38.15581893920898,sub-0050726_T1w,
  3074. summary_csf_p05,37.20884895324707,sub-0050727_T1w,
  3075. summary_csf_p05,52.39747600555421,sub-0050728_T1w,
  3076. summary_csf_p05,33.748469352722175,sub-0050730_T1w,
  3077. summary_csf_p05,33.875764846801765,sub-0050731_T1w,
  3078. summary_csf_p05,39.284694099426275,sub-0050732_T1w,
  3079. summary_csf_p05,28.131710052490234,sub-0050733_T1w,
  3080. summary_csf_p05,32.31478500366211,sub-0050734_T1w,
  3081. summary_csf_p05,43.810351181030285,sub-0050735_T1w,
  3082. summary_csf_p05,88.17630577087402,sub-0050736_T1w,
  3083. summary_csf_p05,57.007431411743156,sub-0050737_T1w,
  3084. summary_csf_p05,90.60397644042969,sub-0050738_T1w,
  3085. summary_csf_p05,53.6091194152832,sub-0050739_T1w,
  3086. summary_csf_p05,42.781585693359375,sub-0050740_T1w,
  3087. summary_csf_p05,65.8125514984131,sub-0050741_T1w,
  3088. summary_csf_p05,56.736849975585955,sub-0050742_T1w,
  3089. summary_csf_p05,29.255517387390128,sub-0050743_T1w,
  3090. summary_csf_p05,61.29843444824219,sub-0050744_T1w,
  3091. summary_csf_p05,111.1425048828125,sub-0050745_T1w,
  3092. summary_csf_p05,48.55399513244629,sub-0050746_T1w,
  3093. summary_csf_p05,83.5183547973633,sub-0050747_T1w,
  3094. summary_csf_p05,49.32498321533203,sub-0050748_T1w,
  3095. summary_csf_p05,60.190123558044434,sub-0050749_T1w,
  3096. summary_csf_p05,47.13077259063721,sub-0050750_T1w,
  3097. summary_csf_p05,37.706154823303216,sub-0050751_T1w,
  3098. summary_csf_p05,117.82258224487305,sub-0050752_T1w,
  3099. summary_csf_p05,35.70137596130371,sub-0050753_T1w,
  3100. summary_csf_p05,43.28123474121094,sub-0050754_T1w,
  3101. summary_csf_p05,37.718126678466795,sub-0050755_T1w,
  3102. summary_csf_p05,39.28991088867188,sub-0050756_T1w,
  3103. summary_csf_p05,27.438065910339354,sub-0050757_T1w,
  3104. summary_csf_p95,360.53271484375,sub-0050722_T1w,
  3105. summary_csf_p95,396.0348541259765,sub-0050723_T1w,
  3106. summary_csf_p95,403.2499237060547,sub-0050724_T1w,
  3107. summary_csf_p95,402.06028747558594,sub-0050725_T1w,
  3108. summary_csf_p95,409.28147277832034,sub-0050726_T1w,
  3109. summary_csf_p95,368.3153106689453,sub-0050727_T1w,
  3110. summary_csf_p95,385.58492736816396,sub-0050728_T1w,
  3111. summary_csf_p95,357.89769744873047,sub-0050730_T1w,
  3112. summary_csf_p95,402.9466400146485,sub-0050731_T1w,
  3113. summary_csf_p95,386.41661071777344,sub-0050732_T1w,
  3114. summary_csf_p95,379.12039794921867,sub-0050733_T1w,
  3115. summary_csf_p95,378.3986282348633,sub-0050734_T1w,
  3116. summary_csf_p95,378.3269836425781,sub-0050735_T1w,
  3117. summary_csf_p95,391.68336486816406,sub-0050736_T1w,
  3118. summary_csf_p95,351.63836364746095,sub-0050737_T1w,
  3119. summary_csf_p95,383.44876708984367,sub-0050738_T1w,
  3120. summary_csf_p95,397.74160156249985,sub-0050739_T1w,
  3121. summary_csf_p95,336.9633483886719,sub-0050740_T1w,
  3122. summary_csf_p95,384.48250579833984,sub-0050741_T1w,
  3123. summary_csf_p95,411.92857666015635,sub-0050742_T1w,
  3124. summary_csf_p95,369.49192504882797,sub-0050743_T1w,
  3125. summary_csf_p95,346.8814758300781,sub-0050744_T1w,
  3126. summary_csf_p95,370.9275512695312,sub-0050745_T1w,
  3127. summary_csf_p95,388.7860046386719,sub-0050746_T1w,
  3128. summary_csf_p95,413.25270996093735,sub-0050747_T1w,
  3129. summary_csf_p95,358.96413574218735,sub-0050748_T1w,
  3130. summary_csf_p95,409.4973297119141,sub-0050749_T1w,
  3131. summary_csf_p95,417.68177032470703,sub-0050750_T1w,
  3132. summary_csf_p95,362.6753921508789,sub-0050751_T1w,
  3133. summary_csf_p95,387.1748275756836,sub-0050752_T1w,
  3134. summary_csf_p95,368.34922180175784,sub-0050753_T1w,
  3135. summary_csf_p95,371.72313690185547,sub-0050754_T1w,
  3136. summary_csf_p95,341.45855102539065,sub-0050755_T1w,
  3137. summary_csf_p95,374.1916931152343,sub-0050756_T1w,
  3138. summary_csf_p95,357.13316802978517,sub-0050757_T1w,
  3139. </pre>
  3140. <div class="chart-wrapper" id="chart-group15"></div>
  3141. <pre class="csvdata" id="data-csv15" style="display: none">
  3142. iqm,value,label,units
  3143. summary_gm_mean,556.7177124023439,sub-0050722_T1w,
  3144. summary_gm_mean,573.075439453125,sub-0050723_T1w,
  3145. summary_gm_mean,570.0797729492188,sub-0050724_T1w,
  3146. summary_gm_mean,587.0759887695312,sub-0050725_T1w,
  3147. summary_gm_mean,561.1793212890625,sub-0050726_T1w,
  3148. summary_gm_mean,574.8367919921875,sub-0050727_T1w,
  3149. summary_gm_mean,594.5433959960938,sub-0050728_T1w,
  3150. summary_gm_mean,538.076416015625,sub-0050730_T1w,
  3151. summary_gm_mean,573.818115234375,sub-0050731_T1w,
  3152. summary_gm_mean,568.3477783203125,sub-0050732_T1w,
  3153. summary_gm_mean,554.693115234375,sub-0050733_T1w,
  3154. summary_gm_mean,572.6005859375,sub-0050734_T1w,
  3155. summary_gm_mean,549.3959350585939,sub-0050735_T1w,
  3156. summary_gm_mean,592.738525390625,sub-0050736_T1w,
  3157. summary_gm_mean,551.4210205078125,sub-0050737_T1w,
  3158. summary_gm_mean,567.1348876953125,sub-0050738_T1w,
  3159. summary_gm_mean,585.2761840820312,sub-0050739_T1w,
  3160. summary_gm_mean,541.9017944335939,sub-0050740_T1w,
  3161. summary_gm_mean,566.8265380859375,sub-0050741_T1w,
  3162. summary_gm_mean,576.5017700195312,sub-0050742_T1w,
  3163. summary_gm_mean,571.8028564453125,sub-0050743_T1w,
  3164. summary_gm_mean,564.2725830078125,sub-0050744_T1w,
  3165. summary_gm_mean,573.2885131835938,sub-0050745_T1w,
  3166. summary_gm_mean,561.1000366210939,sub-0050746_T1w,
  3167. summary_gm_mean,584.5321044921875,sub-0050747_T1w,
  3168. summary_gm_mean,553.3580932617189,sub-0050748_T1w,
  3169. summary_gm_mean,594.722900390625,sub-0050749_T1w,
  3170. summary_gm_mean,587.5783081054688,sub-0050750_T1w,
  3171. summary_gm_mean,540.0965576171875,sub-0050751_T1w,
  3172. summary_gm_mean,597.2686157226562,sub-0050752_T1w,
  3173. summary_gm_mean,576.4642333984375,sub-0050753_T1w,
  3174. summary_gm_mean,560.9727783203125,sub-0050754_T1w,
  3175. summary_gm_mean,528.7041015625,sub-0050755_T1w,
  3176. summary_gm_mean,568.4484252929688,sub-0050756_T1w,
  3177. summary_gm_mean,540.7012939453125,sub-0050757_T1w,
  3178. summary_gm_median,556.1543579101561,sub-0050722_T1w,
  3179. summary_gm_median,573.6526489257812,sub-0050723_T1w,
  3180. summary_gm_median,566.7598876953125,sub-0050724_T1w,
  3181. summary_gm_median,582.7498779296875,sub-0050725_T1w,
  3182. summary_gm_median,559.5350341796875,sub-0050726_T1w,
  3183. summary_gm_median,573.1010131835938,sub-0050727_T1w,
  3184. summary_gm_median,590.9090576171875,sub-0050728_T1w,
  3185. summary_gm_median,535.2338256835939,sub-0050730_T1w,
  3186. summary_gm_median,573.02001953125,sub-0050731_T1w,
  3187. summary_gm_median,565.19482421875,sub-0050732_T1w,
  3188. summary_gm_median,551.3278198242189,sub-0050733_T1w,
  3189. summary_gm_median,567.2259521484375,sub-0050734_T1w,
  3190. summary_gm_median,547.0097045898439,sub-0050735_T1w,
  3191. summary_gm_median,590.7039794921875,sub-0050736_T1w,
  3192. summary_gm_median,550.1095581054689,sub-0050737_T1w,
  3193. summary_gm_median,563.4802856445312,sub-0050738_T1w,
  3194. summary_gm_median,582.5528564453125,sub-0050739_T1w,
  3195. summary_gm_median,542.0872192382811,sub-0050740_T1w,
  3196. summary_gm_median,562.7220458984375,sub-0050741_T1w,
  3197. summary_gm_median,571.96826171875,sub-0050742_T1w,
  3198. summary_gm_median,569.092041015625,sub-0050743_T1w,
  3199. summary_gm_median,563.066162109375,sub-0050744_T1w,
  3200. summary_gm_median,571.46826171875,sub-0050745_T1w,
  3201. summary_gm_median,557.8776245117189,sub-0050746_T1w,
  3202. summary_gm_median,579.9598999023438,sub-0050747_T1w,
  3203. summary_gm_median,548.334228515625,sub-0050748_T1w,
  3204. summary_gm_median,590.98046875,sub-0050749_T1w,
  3205. summary_gm_median,584.9329833984375,sub-0050750_T1w,
  3206. summary_gm_median,537.0433959960939,sub-0050751_T1w,
  3207. summary_gm_median,596.7374877929688,sub-0050752_T1w,
  3208. summary_gm_median,572.7269287109375,sub-0050753_T1w,
  3209. summary_gm_median,556.3175048828125,sub-0050754_T1w,
  3210. summary_gm_median,525.4469604492189,sub-0050755_T1w,
  3211. summary_gm_median,565.8941650390625,sub-0050756_T1w,
  3212. summary_gm_median,537.605712890625,sub-0050757_T1w,
  3213. summary_gm_stdv,76.12973022460938,sub-0050722_T1w,
  3214. summary_gm_stdv,73.22036743164062,sub-0050723_T1w,
  3215. summary_gm_stdv,76.38458251953125,sub-0050724_T1w,
  3216. summary_gm_stdv,86.24789428710938,sub-0050725_T1w,
  3217. summary_gm_stdv,72.98455810546875,sub-0050726_T1w,
  3218. summary_gm_stdv,73.87643432617188,sub-0050727_T1w,
  3219. summary_gm_stdv,74.3800048828125,sub-0050728_T1w,
  3220. summary_gm_stdv,73.08440399169922,sub-0050730_T1w,
  3221. summary_gm_stdv,84.11624145507812,sub-0050731_T1w,
  3222. summary_gm_stdv,84.90938568115234,sub-0050732_T1w,
  3223. summary_gm_stdv,80.8652572631836,sub-0050733_T1w,
  3224. summary_gm_stdv,85.91572570800781,sub-0050734_T1w,
  3225. summary_gm_stdv,74.5747299194336,sub-0050735_T1w,
  3226. summary_gm_stdv,76.9100570678711,sub-0050736_T1w,
  3227. summary_gm_stdv,73.6629638671875,sub-0050737_T1w,
  3228. summary_gm_stdv,76.95209503173828,sub-0050738_T1w,
  3229. summary_gm_stdv,81.59632873535156,sub-0050739_T1w,
  3230. summary_gm_stdv,79.45994567871094,sub-0050740_T1w,
  3231. summary_gm_stdv,75.037841796875,sub-0050741_T1w,
  3232. summary_gm_stdv,78.4611587524414,sub-0050742_T1w,
  3233. summary_gm_stdv,78.10933685302734,sub-0050743_T1w,
  3234. summary_gm_stdv,75.70903778076172,sub-0050744_T1w,
  3235. summary_gm_stdv,78.1155014038086,sub-0050745_T1w,
  3236. summary_gm_stdv,73.8437728881836,sub-0050746_T1w,
  3237. summary_gm_stdv,83.04037475585938,sub-0050747_T1w,
  3238. summary_gm_stdv,82.6395263671875,sub-0050748_T1w,
  3239. summary_gm_stdv,81.78263854980469,sub-0050749_T1w,
  3240. summary_gm_stdv,82.45514678955078,sub-0050750_T1w,
  3241. summary_gm_stdv,71.21605682373047,sub-0050751_T1w,
  3242. summary_gm_stdv,73.49624633789062,sub-0050752_T1w,
  3243. summary_gm_stdv,82.3363265991211,sub-0050753_T1w,
  3244. summary_gm_stdv,82.21549987792969,sub-0050754_T1w,
  3245. summary_gm_stdv,74.71905517578125,sub-0050755_T1w,
  3246. summary_gm_stdv,83.68761444091797,sub-0050756_T1w,
  3247. summary_gm_stdv,84.24765014648438,sub-0050757_T1w,
  3248. summary_gm_mad,73.9772720336914,sub-0050722_T1w,
  3249. summary_gm_mad,72.01438903808594,sub-0050723_T1w,
  3250. summary_gm_mad,73.20547485351562,sub-0050724_T1w,
  3251. summary_gm_mad,85.8362808227539,sub-0050725_T1w,
  3252. summary_gm_mad,68.2672119140625,sub-0050726_T1w,
  3253. summary_gm_mad,72.6826171875,sub-0050727_T1w,
  3254. summary_gm_mad,70.09720611572266,sub-0050728_T1w,
  3255. summary_gm_mad,71.32598114013672,sub-0050730_T1w,
  3256. summary_gm_mad,79.89148712158203,sub-0050731_T1w,
  3257. summary_gm_mad,83.56513977050781,sub-0050732_T1w,
  3258. summary_gm_mad,74.79539489746094,sub-0050733_T1w,
  3259. summary_gm_mad,81.23129272460938,sub-0050734_T1w,
  3260. summary_gm_mad,72.51810455322266,sub-0050735_T1w,
  3261. summary_gm_mad,74.31399536132812,sub-0050736_T1w,
  3262. summary_gm_mad,72.18573760986328,sub-0050737_T1w,
  3263. summary_gm_mad,71.72097778320312,sub-0050738_T1w,
  3264. summary_gm_mad,74.92548370361328,sub-0050739_T1w,
  3265. summary_gm_mad,71.1256332397461,sub-0050740_T1w,
  3266. summary_gm_mad,65.96435546875,sub-0050741_T1w,
  3267. summary_gm_mad,73.34347534179688,sub-0050742_T1w,
  3268. summary_gm_mad,73.09082794189453,sub-0050743_T1w,
  3269. summary_gm_mad,74.4234848022461,sub-0050744_T1w,
  3270. summary_gm_mad,75.52339935302734,sub-0050745_T1w,
  3271. summary_gm_mad,68.43561553955078,sub-0050746_T1w,
  3272. summary_gm_mad,78.75048828125,sub-0050747_T1w,
  3273. summary_gm_mad,79.3846435546875,sub-0050748_T1w,
  3274. summary_gm_mad,74.82807159423828,sub-0050749_T1w,
  3275. summary_gm_mad,80.5732421875,sub-0050750_T1w,
  3276. summary_gm_mad,69.720947265625,sub-0050751_T1w,
  3277. summary_gm_mad,69.97441101074219,sub-0050752_T1w,
  3278. summary_gm_mad,79.58973693847656,sub-0050753_T1w,
  3279. summary_gm_mad,78.60752868652344,sub-0050754_T1w,
  3280. summary_gm_mad,72.2168197631836,sub-0050755_T1w,
  3281. summary_gm_mad,80.1884765625,sub-0050756_T1w,
  3282. summary_gm_mad,81.82456970214844,sub-0050757_T1w,
  3283. summary_gm_k,0.1535439467812738,sub-0050722_T1w,
  3284. summary_gm_k,0.13640536868031994,sub-0050723_T1w,
  3285. summary_gm_k,0.23216920715309675,sub-0050724_T1w,
  3286. summary_gm_k,0.007233777867537316,sub-0050725_T1w,
  3287. summary_gm_k,0.3868034656577493,sub-0050726_T1w,
  3288. summary_gm_k,0.1797778930773224,sub-0050727_T1w,
  3289. summary_gm_k,0.3803446748864956,sub-0050728_T1w,
  3290. summary_gm_k,0.13891361466433286,sub-0050730_T1w,
  3291. summary_gm_k,0.2706539529658536,sub-0050731_T1w,
  3292. summary_gm_k,0.0016982119061088596,sub-0050732_T1w,
  3293. summary_gm_k,0.2618870325222593,sub-0050733_T1w,
  3294. summary_gm_k,0.20426906239394335,sub-0050734_T1w,
  3295. summary_gm_k,0.14790006899163144,sub-0050735_T1w,
  3296. summary_gm_k,0.17539284880514128,sub-0050736_T1w,
  3297. summary_gm_k,0.10759262650092484,sub-0050737_T1w,
  3298. summary_gm_k,0.4125125048005445,sub-0050738_T1w,
  3299. summary_gm_k,0.3594504394723641,sub-0050739_T1w,
  3300. summary_gm_k,0.5621892432092435,sub-0050740_T1w,
  3301. summary_gm_k,0.64163725679935,sub-0050741_T1w,
  3302. summary_gm_k,0.4856033632221353,sub-0050742_T1w,
  3303. summary_gm_k,0.3156114105957859,sub-0050743_T1w,
  3304. summary_gm_k,0.07672071902831458,sub-0050744_T1w,
  3305. summary_gm_k,0.16071383188875998,sub-0050745_T1w,
  3306. summary_gm_k,0.2860172164458077,sub-0050746_T1w,
  3307. summary_gm_k,0.2530885551365709,sub-0050747_T1w,
  3308. summary_gm_k,0.18797321662682,sub-0050748_T1w,
  3309. summary_gm_k,0.3469213098230606,sub-0050749_T1w,
  3310. summary_gm_k,0.07574030241382834,sub-0050750_T1w,
  3311. summary_gm_k,0.059883696988248136,sub-0050751_T1w,
  3312. summary_gm_k,0.260096704933702,sub-0050752_T1w,
  3313. summary_gm_k,0.07994293670931407,sub-0050753_T1w,
  3314. summary_gm_k,0.12345425772883267,sub-0050754_T1w,
  3315. summary_gm_k,0.20079687144978564,sub-0050755_T1w,
  3316. summary_gm_k,0.17513578188101642,sub-0050756_T1w,
  3317. summary_gm_k,0.01543140135844334,sub-0050757_T1w,
  3318. summary_gm_p05,434.106103515625,sub-0050722_T1w,
  3319. summary_gm_p05,451.7027740478516,sub-0050723_T1w,
  3320. summary_gm_p05,449.8986358642578,sub-0050724_T1w,
  3321. summary_gm_p05,452.3259521484375,sub-0050725_T1w,
  3322. summary_gm_p05,443.8603515625,sub-0050726_T1w,
  3323. summary_gm_p05,456.05240173339854,sub-0050727_T1w,
  3324. summary_gm_p05,477.3184509277344,sub-0050728_T1w,
  3325. summary_gm_p05,421.6710662841797,sub-0050730_T1w,
  3326. summary_gm_p05,436.6426696777344,sub-0050731_T1w,
  3327. summary_gm_p05,433.04926147460935,sub-0050732_T1w,
  3328. summary_gm_p05,424.77857208251953,sub-0050733_T1w,
  3329. summary_gm_p05,439.6607666015625,sub-0050734_T1w,
  3330. summary_gm_p05,430.62786865234375,sub-0050735_T1w,
  3331. summary_gm_p05,469.38220672607423,sub-0050736_T1w,
  3332. summary_gm_p05,432.83331909179685,sub-0050737_T1w,
  3333. summary_gm_p05,445.2964294433592,sub-0050738_T1w,
  3334. summary_gm_p05,454.93529815673827,sub-0050739_T1w,
  3335. summary_gm_p05,409.87296295166016,sub-0050740_T1w,
  3336. summary_gm_p05,448.70272521972646,sub-0050741_T1w,
  3337. summary_gm_p05,454.5565490722656,sub-0050742_T1w,
  3338. summary_gm_p05,448.11840362548827,sub-0050743_T1w,
  3339. summary_gm_p05,441.8698928833008,sub-0050744_T1w,
  3340. summary_gm_p05,445.6285339355469,sub-0050745_T1w,
  3341. summary_gm_p05,442.4240783691406,sub-0050746_T1w,
  3342. summary_gm_p05,455.0488311767578,sub-0050747_T1w,
  3343. summary_gm_p05,425.6302429199219,sub-0050748_T1w,
  3344. summary_gm_p05,463.83567810058594,sub-0050749_T1w,
  3345. summary_gm_p05,456.40966796875,sub-0050750_T1w,
  3346. summary_gm_p05,426.3934173583984,sub-0050751_T1w,
  3347. summary_gm_p05,477.13262939453125,sub-0050752_T1w,
  3348. summary_gm_p05,446.4764114379883,sub-0050753_T1w,
  3349. summary_gm_p05,431.64378662109385,sub-0050754_T1w,
  3350. summary_gm_p05,410.73892669677736,sub-0050755_T1w,
  3351. summary_gm_p05,431.626936340332,sub-0050756_T1w,
  3352. summary_gm_p05,404.77796630859376,sub-0050757_T1w,
  3353. summary_gm_p95,684.7242065429688,sub-0050722_T1w,
  3354. summary_gm_p95,694.4559478759766,sub-0050723_T1w,
  3355. summary_gm_p95,702.6268249511717,sub-0050724_T1w,
  3356. summary_gm_p95,738.2528930664063,sub-0050725_T1w,
  3357. summary_gm_p95,685.011474609375,sub-0050726_T1w,
  3358. summary_gm_p95,698.2349426269533,sub-0050727_T1w,
  3359. summary_gm_p95,721.4671630859375,sub-0050728_T1w,
  3360. summary_gm_p95,660.6199493408202,sub-0050730_T1w,
  3361. summary_gm_p95,717.5020385742188,sub-0050731_T1w,
  3362. summary_gm_p95,715.8369873046872,sub-0050732_T1w,
  3363. summary_gm_p95,697.2436828613281,sub-0050733_T1w,
  3364. summary_gm_p95,725.6199707031249,sub-0050734_T1w,
  3365. summary_gm_p95,676.5941162109375,sub-0050735_T1w,
  3366. summary_gm_p95,723.7915344238281,sub-0050736_T1w,
  3367. summary_gm_p95,675.9002197265622,sub-0050737_T1w,
  3368. summary_gm_p95,702.1164550781249,sub-0050738_T1w,
  3369. summary_gm_p95,725.5125915527344,sub-0050739_T1w,
  3370. summary_gm_p95,678.1754821777341,sub-0050740_T1w,
  3371. summary_gm_p95,699.7132202148438,sub-0050741_T1w,
  3372. summary_gm_p95,712.432373046875,sub-0050742_T1w,
  3373. summary_gm_p95,708.6486938476562,sub-0050743_T1w,
  3374. summary_gm_p95,692.2569732666016,sub-0050744_T1w,
  3375. summary_gm_p95,705.4842132568359,sub-0050745_T1w,
  3376. summary_gm_p95,690.7071533203124,sub-0050746_T1w,
  3377. summary_gm_p95,731.204440307617,sub-0050747_T1w,
  3378. summary_gm_p95,700.53095703125,sub-0050748_T1w,
  3379. summary_gm_p95,738.1758117675781,sub-0050749_T1w,
  3380. summary_gm_p95,730.6890014648437,sub-0050750_T1w,
  3381. summary_gm_p95,662.1341857910156,sub-0050751_T1w,
  3382. summary_gm_p95,721.4974975585938,sub-0050752_T1w,
  3383. summary_gm_p95,718.377719116211,sub-0050753_T1w,
  3384. summary_gm_p95,706.3439178466797,sub-0050754_T1w,
  3385. summary_gm_p95,656.5347320556641,sub-0050755_T1w,
  3386. summary_gm_p95,709.6778503417967,sub-0050756_T1w,
  3387. summary_gm_p95,685.7917083740233,sub-0050757_T1w,
  3388. </pre>
  3389. <div class="chart-wrapper" id="chart-group16"></div>
  3390. <pre class="csvdata" id="data-csv16" style="display: none">
  3391. iqm,value,label,units
  3392. summary_wm_mean,992.9415283203124,sub-0050722_T1w,
  3393. summary_wm_mean,995.0855102539062,sub-0050723_T1w,
  3394. summary_wm_mean,992.6110229492188,sub-0050724_T1w,
  3395. summary_wm_mean,995.4507446289062,sub-0050725_T1w,
  3396. summary_wm_mean,991.9783325195312,sub-0050726_T1w,
  3397. summary_wm_mean,992.4825439453124,sub-0050727_T1w,
  3398. summary_wm_mean,992.5813598632812,sub-0050728_T1w,
  3399. summary_wm_mean,994.0755615234376,sub-0050730_T1w,
  3400. summary_wm_mean,994.7510986328124,sub-0050731_T1w,
  3401. summary_wm_mean,996.35595703125,sub-0050732_T1w,
  3402. summary_wm_mean,993.439453125,sub-0050733_T1w,
  3403. summary_wm_mean,994.2615966796876,sub-0050734_T1w,
  3404. summary_wm_mean,991.7484130859376,sub-0050735_T1w,
  3405. summary_wm_mean,996.6915283203124,sub-0050736_T1w,
  3406. summary_wm_mean,993.8135375976562,sub-0050737_T1w,
  3407. summary_wm_mean,993.4992065429688,sub-0050738_T1w,
  3408. summary_wm_mean,995.3807373046876,sub-0050739_T1w,
  3409. summary_wm_mean,994.2872314453124,sub-0050740_T1w,
  3410. summary_wm_mean,993.3956298828124,sub-0050741_T1w,
  3411. summary_wm_mean,993.5111694335938,sub-0050742_T1w,
  3412. summary_wm_mean,992.6117553710938,sub-0050743_T1w,
  3413. summary_wm_mean,1000.5289916992188,sub-0050744_T1w,
  3414. summary_wm_mean,993.0485229492188,sub-0050745_T1w,
  3415. summary_wm_mean,992.962646484375,sub-0050746_T1w,
  3416. summary_wm_mean,996.9393920898438,sub-0050747_T1w,
  3417. summary_wm_mean,993.8280639648438,sub-0050748_T1w,
  3418. summary_wm_mean,995.5426635742188,sub-0050749_T1w,
  3419. summary_wm_mean,998.7600708007812,sub-0050750_T1w,
  3420. summary_wm_mean,994.2923583984376,sub-0050751_T1w,
  3421. summary_wm_mean,995.9232177734376,sub-0050752_T1w,
  3422. summary_wm_mean,999.0651245117188,sub-0050753_T1w,
  3423. summary_wm_mean,991.3656005859376,sub-0050754_T1w,
  3424. summary_wm_mean,992.4769897460938,sub-0050755_T1w,
  3425. summary_wm_mean,996.0726318359376,sub-0050756_T1w,
  3426. summary_wm_mean,991.21533203125,sub-0050757_T1w,
  3427. summary_wm_median,999.9993896484376,sub-0050722_T1w,
  3428. summary_wm_median,999.9873046875,sub-0050723_T1w,
  3429. summary_wm_median,1000.0015258789062,sub-0050724_T1w,
  3430. summary_wm_median,999.9989013671876,sub-0050725_T1w,
  3431. summary_wm_median,999.99755859375,sub-0050726_T1w,
  3432. summary_wm_median,1000.0009155273438,sub-0050727_T1w,
  3433. summary_wm_median,999.98779296875,sub-0050728_T1w,
  3434. summary_wm_median,999.997802734375,sub-0050730_T1w,
  3435. summary_wm_median,999.9923095703124,sub-0050731_T1w,
  3436. summary_wm_median,1000.0000610351562,sub-0050732_T1w,
  3437. summary_wm_median,1000.000244140625,sub-0050733_T1w,
  3438. summary_wm_median,999.99267578125,sub-0050734_T1w,
  3439. summary_wm_median,999.9993896484376,sub-0050735_T1w,
  3440. summary_wm_median,1000.0015869140624,sub-0050736_T1w,
  3441. summary_wm_median,1000.0020751953124,sub-0050737_T1w,
  3442. summary_wm_median,1000.0077514648438,sub-0050738_T1w,
  3443. summary_wm_median,999.9921875,sub-0050739_T1w,
  3444. summary_wm_median,999.994140625,sub-0050740_T1w,
  3445. summary_wm_median,999.9927368164062,sub-0050741_T1w,
  3446. summary_wm_median,999.997802734375,sub-0050742_T1w,
  3447. summary_wm_median,999.995849609375,sub-0050743_T1w,
  3448. summary_wm_median,1000.0042724609376,sub-0050744_T1w,
  3449. summary_wm_median,1000.0112915039062,sub-0050745_T1w,
  3450. summary_wm_median,1000.00244140625,sub-0050746_T1w,
  3451. summary_wm_median,1000.0018310546876,sub-0050747_T1w,
  3452. summary_wm_median,999.9998779296876,sub-0050748_T1w,
  3453. summary_wm_median,999.9965209960938,sub-0050749_T1w,
  3454. summary_wm_median,1000.0090942382812,sub-0050750_T1w,
  3455. summary_wm_median,999.9953002929688,sub-0050751_T1w,
  3456. summary_wm_median,1000.00048828125,sub-0050752_T1w,
  3457. summary_wm_median,999.9990234375,sub-0050753_T1w,
  3458. summary_wm_median,1000.0118408203124,sub-0050754_T1w,
  3459. summary_wm_median,999.9947509765624,sub-0050755_T1w,
  3460. summary_wm_median,1000.013427734375,sub-0050756_T1w,
  3461. summary_wm_median,999.9993286132812,sub-0050757_T1w,
  3462. summary_wm_stdv,61.93078231811523,sub-0050722_T1w,
  3463. summary_wm_stdv,62.43901062011719,sub-0050723_T1w,
  3464. summary_wm_stdv,60.503456115722656,sub-0050724_T1w,
  3465. summary_wm_stdv,52.32400894165039,sub-0050725_T1w,
  3466. summary_wm_stdv,57.76576614379883,sub-0050726_T1w,
  3467. summary_wm_stdv,54.36410903930664,sub-0050727_T1w,
  3468. summary_wm_stdv,54.27211380004883,sub-0050728_T1w,
  3469. summary_wm_stdv,65.70285797119139,sub-0050730_T1w,
  3470. summary_wm_stdv,49.55184555053711,sub-0050731_T1w,
  3471. summary_wm_stdv,59.40169143676758,sub-0050732_T1w,
  3472. summary_wm_stdv,57.62820053100586,sub-0050733_T1w,
  3473. summary_wm_stdv,56.29875946044922,sub-0050734_T1w,
  3474. summary_wm_stdv,58.77930450439453,sub-0050735_T1w,
  3475. summary_wm_stdv,62.9669189453125,sub-0050736_T1w,
  3476. summary_wm_stdv,60.8243179321289,sub-0050737_T1w,
  3477. summary_wm_stdv,58.90773010253906,sub-0050738_T1w,
  3478. summary_wm_stdv,52.005775451660156,sub-0050739_T1w,
  3479. summary_wm_stdv,56.94447708129883,sub-0050740_T1w,
  3480. summary_wm_stdv,55.90267562866211,sub-0050741_T1w,
  3481. summary_wm_stdv,55.149085998535156,sub-0050742_T1w,
  3482. summary_wm_stdv,55.44881820678711,sub-0050743_T1w,
  3483. summary_wm_stdv,82.28650665283203,sub-0050744_T1w,
  3484. summary_wm_stdv,60.73197937011719,sub-0050745_T1w,
  3485. summary_wm_stdv,69.70323181152344,sub-0050746_T1w,
  3486. summary_wm_stdv,60.65837860107422,sub-0050747_T1w,
  3487. summary_wm_stdv,55.31870651245117,sub-0050748_T1w,
  3488. summary_wm_stdv,55.569252014160156,sub-0050749_T1w,
  3489. summary_wm_stdv,66.54539489746094,sub-0050750_T1w,
  3490. summary_wm_stdv,65.51293182373047,sub-0050751_T1w,
  3491. summary_wm_stdv,53.04615783691406,sub-0050752_T1w,
  3492. summary_wm_stdv,62.8501205444336,sub-0050753_T1w,
  3493. summary_wm_stdv,67.12666320800781,sub-0050754_T1w,
  3494. summary_wm_stdv,59.74627685546875,sub-0050755_T1w,
  3495. summary_wm_stdv,59.8366813659668,sub-0050756_T1w,
  3496. summary_wm_stdv,63.80727767944336,sub-0050757_T1w,
  3497. summary_wm_mad,52.31403350830078,sub-0050722_T1w,
  3498. summary_wm_mad,56.20387268066406,sub-0050723_T1w,
  3499. summary_wm_mad,50.24043273925781,sub-0050724_T1w,
  3500. summary_wm_mad,44.26826477050781,sub-0050725_T1w,
  3501. summary_wm_mad,46.717445373535156,sub-0050726_T1w,
  3502. summary_wm_mad,44.60004806518555,sub-0050727_T1w,
  3503. summary_wm_mad,44.21917343139648,sub-0050728_T1w,
  3504. summary_wm_mad,53.602622985839844,sub-0050730_T1w,
  3505. summary_wm_mad,41.963417053222656,sub-0050731_T1w,
  3506. summary_wm_mad,52.64328384399414,sub-0050732_T1w,
  3507. summary_wm_mad,45.834434509277344,sub-0050733_T1w,
  3508. summary_wm_mad,45.90356826782226,sub-0050734_T1w,
  3509. summary_wm_mad,47.07207870483398,sub-0050735_T1w,
  3510. summary_wm_mad,52.849464416503906,sub-0050736_T1w,
  3511. summary_wm_mad,51.39170455932617,sub-0050737_T1w,
  3512. summary_wm_mad,50.12913131713867,sub-0050738_T1w,
  3513. summary_wm_mad,42.86479568481445,sub-0050739_T1w,
  3514. summary_wm_mad,48.37709045410156,sub-0050740_T1w,
  3515. summary_wm_mad,46.52297973632813,sub-0050741_T1w,
  3516. summary_wm_mad,46.66423797607422,sub-0050742_T1w,
  3517. summary_wm_mad,45.967323303222656,sub-0050743_T1w,
  3518. summary_wm_mad,71.4798583984375,sub-0050744_T1w,
  3519. summary_wm_mad,49.98357772827149,sub-0050745_T1w,
  3520. summary_wm_mad,57.883384704589844,sub-0050746_T1w,
  3521. summary_wm_mad,51.86203002929688,sub-0050747_T1w,
  3522. summary_wm_mad,47.20075607299805,sub-0050748_T1w,
  3523. summary_wm_mad,47.55385208129883,sub-0050749_T1w,
  3524. summary_wm_mad,59.74052810668945,sub-0050750_T1w,
  3525. summary_wm_mad,56.36612319946289,sub-0050751_T1w,
  3526. summary_wm_mad,44.96011352539063,sub-0050752_T1w,
  3527. summary_wm_mad,52.86892318725586,sub-0050753_T1w,
  3528. summary_wm_mad,53.8967170715332,sub-0050754_T1w,
  3529. summary_wm_mad,49.6445541381836,sub-0050755_T1w,
  3530. summary_wm_mad,52.96977615356445,sub-0050756_T1w,
  3531. summary_wm_mad,48.94053268432617,sub-0050757_T1w,
  3532. summary_wm_k,1.1653446598191095,sub-0050722_T1w,
  3533. summary_wm_k,0.7722489558887955,sub-0050723_T1w,
  3534. summary_wm_k,1.71150858549277,sub-0050724_T1w,
  3535. summary_wm_k,1.7238241373141443,sub-0050725_T1w,
  3536. summary_wm_k,1.807364250553689,sub-0050726_T1w,
  3537. summary_wm_k,1.7573965505304685,sub-0050727_T1w,
  3538. summary_wm_k,1.819537318422344,sub-0050728_T1w,
  3539. summary_wm_k,1.2537361782487082,sub-0050730_T1w,
  3540. summary_wm_k,1.7119692561387003,sub-0050731_T1w,
  3541. summary_wm_k,1.007488307283281,sub-0050732_T1w,
  3542. summary_wm_k,1.956912804479144,sub-0050733_T1w,
  3543. summary_wm_k,1.9398309430203,sub-0050734_T1w,
  3544. summary_wm_k,1.7713089877863135,sub-0050735_T1w,
  3545. summary_wm_k,1.248672377810914,sub-0050736_T1w,
  3546. summary_wm_k,1.3289554483327013,sub-0050737_T1w,
  3547. summary_wm_k,1.6202663365937555,sub-0050738_T1w,
  3548. summary_wm_k,2.790964547276155,sub-0050739_T1w,
  3549. summary_wm_k,1.503680301963601,sub-0050740_T1w,
  3550. summary_wm_k,1.7500542038088345,sub-0050741_T1w,
  3551. summary_wm_k,1.6539129062042752,sub-0050742_T1w,
  3552. summary_wm_k,1.7143977245095856,sub-0050743_T1w,
  3553. summary_wm_k,0.9576510230058816,sub-0050744_T1w,
  3554. summary_wm_k,1.6186887328270534,sub-0050745_T1w,
  3555. summary_wm_k,1.5876119168507783,sub-0050746_T1w,
  3556. summary_wm_k,1.42653774436973,sub-0050747_T1w,
  3557. summary_wm_k,1.4610481037760614,sub-0050748_T1w,
  3558. summary_wm_k,1.3784685536551562,sub-0050749_T1w,
  3559. summary_wm_k,1.0081786508202235,sub-0050750_T1w,
  3560. summary_wm_k,1.249987651794803,sub-0050751_T1w,
  3561. summary_wm_k,1.5777810776107308,sub-0050752_T1w,
  3562. summary_wm_k,1.7090057727912242,sub-0050753_T1w,
  3563. summary_wm_k,1.7405688104353618,sub-0050754_T1w,
  3564. summary_wm_k,1.7492939061251604,sub-0050755_T1w,
  3565. summary_wm_k,1.226387551751608,sub-0050756_T1w,
  3566. summary_wm_k,2.1326499046197025,sub-0050757_T1w,
  3567. summary_wm_p05,875.0895629882813,sub-0050722_T1w,
  3568. summary_wm_p05,882.5471069335938,sub-0050723_T1w,
  3569. summary_wm_p05,876.7077819824219,sub-0050724_T1w,
  3570. summary_wm_p05,900.2926849365233,sub-0050725_T1w,
  3571. summary_wm_p05,879.0462982177735,sub-0050726_T1w,
  3572. summary_wm_p05,887.3430969238283,sub-0050727_T1w,
  3573. summary_wm_p05,886.7839813232422,sub-0050728_T1w,
  3574. summary_wm_p05,869.1192016601562,sub-0050730_T1w,
  3575. summary_wm_p05,903.2775634765624,sub-0050731_T1w,
  3576. summary_wm_p05,890.3853942871092,sub-0050732_T1w,
  3577. summary_wm_p05,882.6244354248047,sub-0050733_T1w,
  3578. summary_wm_p05,889.0485382080078,sub-0050734_T1w,
  3579. summary_wm_p05,876.7375671386717,sub-0050735_T1w,
  3580. summary_wm_p05,884.8489593505859,sub-0050736_T1w,
  3581. summary_wm_p05,880.4423065185547,sub-0050737_T1w,
  3582. summary_wm_p05,883.2261047363281,sub-0050738_T1w,
  3583. summary_wm_p05,902.0757202148436,sub-0050739_T1w,
  3584. summary_wm_p05,888.9072174072265,sub-0050740_T1w,
  3585. summary_wm_p05,888.4603759765623,sub-0050741_T1w,
  3586. summary_wm_p05,889.9223022460938,sub-0050742_T1w,
  3587. summary_wm_p05,886.2846832275391,sub-0050743_T1w,
  3588. summary_wm_p05,863.5158386230469,sub-0050744_T1w,
  3589. summary_wm_p05,877.3920440673828,sub-0050745_T1w,
  3590. summary_wm_p05,859.3192504882812,sub-0050746_T1w,
  3591. summary_wm_p05,890.4254516601562,sub-0050747_T1w,
  3592. summary_wm_p05,890.7362060546875,sub-0050748_T1w,
  3593. summary_wm_p05,894.1438049316406,sub-0050749_T1w,
  3594. summary_wm_p05,886.4206420898438,sub-0050750_T1w,
  3595. summary_wm_p05,874.1885864257813,sub-0050751_T1w,
  3596. summary_wm_p05,900.8827850341797,sub-0050752_T1w,
  3597. summary_wm_p05,892.9194091796877,sub-0050753_T1w,
  3598. summary_wm_p05,858.237582397461,sub-0050754_T1w,
  3599. summary_wm_p05,878.6200866699219,sub-0050755_T1w,
  3600. summary_wm_p05,890.1114959716797,sub-0050756_T1w,
  3601. summary_wm_p05,863.098666381836,sub-0050757_T1w,
  3602. summary_wm_p95,1081.1664306640623,sub-0050722_T1w,
  3603. summary_wm_p95,1088.7531005859375,sub-0050723_T1w,
  3604. summary_wm_p95,1076.1300659179688,sub-0050724_T1w,
  3605. summary_wm_p95,1070.6677673339843,sub-0050725_T1w,
  3606. summary_wm_p95,1070.391778564453,sub-0050726_T1w,
  3607. summary_wm_p95,1066.077294921875,sub-0050727_T1w,
  3608. summary_wm_p95,1065.1853637695312,sub-0050728_T1w,
  3609. summary_wm_p95,1091.159405517578,sub-0050730_T1w,
  3610. summary_wm_p95,1064.631689453125,sub-0050731_T1w,
  3611. summary_wm_p95,1086.012139892578,sub-0050732_T1w,
  3612. summary_wm_p95,1072.580792236328,sub-0050733_T1w,
  3613. summary_wm_p95,1072.6276245117188,sub-0050734_T1w,
  3614. summary_wm_p95,1070.2590270996093,sub-0050735_T1w,
  3615. summary_wm_p95,1093.7531311035157,sub-0050736_T1w,
  3616. summary_wm_p95,1081.0816040039062,sub-0050737_T1w,
  3617. summary_wm_p95,1075.4437255859377,sub-0050738_T1w,
  3618. summary_wm_p95,1067.2654296874996,sub-0050739_T1w,
  3619. summary_wm_p95,1075.8806030273438,sub-0050740_T1w,
  3620. summary_wm_p95,1071.0382568359375,sub-0050741_T1w,
  3621. summary_wm_p95,1069.9503662109375,sub-0050742_T1w,
  3622. summary_wm_p95,1068.1761169433594,sub-0050743_T1w,
  3623. summary_wm_p95,1137.2554077148434,sub-0050744_T1w,
  3624. summary_wm_p95,1078.4688964843754,sub-0050745_T1w,
  3625. summary_wm_p95,1092.1342041015623,sub-0050746_T1w,
  3626. summary_wm_p95,1089.1309936523437,sub-0050747_T1w,
  3627. summary_wm_p95,1071.4365234375,sub-0050748_T1w,
  3628. summary_wm_p95,1076.5387939453126,sub-0050749_T1w,
  3629. summary_wm_p95,1104.059033203125,sub-0050750_T1w,
  3630. summary_wm_p95,1090.3607666015623,sub-0050751_T1w,
  3631. summary_wm_p95,1074.27763671875,sub-0050752_T1w,
  3632. summary_wm_p95,1098.9814208984376,sub-0050753_T1w,
  3633. summary_wm_p95,1082.7399780273436,sub-0050754_T1w,
  3634. summary_wm_p95,1073.9840087890623,sub-0050755_T1w,
  3635. summary_wm_p95,1085.240673828125,sub-0050756_T1w,
  3636. summary_wm_p95,1075.289776611328,sub-0050757_T1w,
  3637. </pre>
  3638. <script type="text/javascript">
  3639. var chart1;
  3640. function add(a, b) {
  3641. return a + b;
  3642. };
  3643. function plotData(group) {
  3644. data = d3.csv.parse(d3.select("#data-csv" + group).text(), function(d) {
  3645. return {
  3646. iqm: d.iqm,
  3647. value: +d.value,
  3648. label: d.label,
  3649. units: d.units
  3650. }
  3651. });
  3652. var a = {};
  3653. var nIQMs = 0;
  3654. data.forEach(function(d) {
  3655. if(!a.hasOwnProperty(d.iqm)){
  3656. a[d.iqm] = 1
  3657. nIQMs += 1
  3658. }
  3659. });
  3660. if (data.length > 0) {
  3661. chart1 = makeDistroChart({
  3662. data: data,
  3663. xName: 'iqm',
  3664. yName: 'value',
  3665. selector: "#chart-group" + group,
  3666. chartSize: {height: 300, width: 100 + 60 * nIQMs},
  3667. constrainExtremes: false,
  3668. modality: 'T1w'
  3669. });
  3670. chart1.renderDataPlots();
  3671. chart1.dataPlots.change({
  3672. showPlot: true,
  3673. plotType: 20,
  3674. padding: 20,
  3675. showBeanLines: false
  3676. });
  3677. chart1.renderBoxPlot();
  3678. chart1.boxPlots.show({
  3679. showWhiskers: true,
  3680. showOutliers: false,
  3681. boxWidth: 15,
  3682. lineWidth: 15,
  3683. padding: -10,
  3684. colors: ['#555']
  3685. });
  3686. // chart1.renderNotchBoxes({showNotchBox:false});
  3687. // chart1.renderViolinPlot({showViolinPlot:false});
  3688. // chart1.violinPlots.show({reset:true,clamp:0});
  3689. // chart1.dataPlots.show({showPlot:false,showBeanLines:true, colors:['#555']})
  3690. //chart1.notchBoxes.hide();
  3691. //chart1.boxPlots.hide();
  3692. }
  3693. }
  3694. plotData(0);
  3695. plotData(1);
  3696. plotData(2);
  3697. plotData(3);
  3698. plotData(4);
  3699. plotData(5);
  3700. plotData(6);
  3701. plotData(7);
  3702. plotData(8);
  3703. plotData(9);
  3704. plotData(10);
  3705. plotData(11);
  3706. plotData(12);
  3707. plotData(13);
  3708. plotData(14);
  3709. plotData(15);
  3710. plotData(16);
  3711. </script>
  3712. </body>
  3713. </html>