From 2877bc7f0e1fa3c8cab2bfaafcb2f63fbf36e42b Mon Sep 17 00:00:00 2001 From: thomcsmits Date: Mon, 1 Jul 2024 18:53:22 -0400 Subject: [PATCH] Updates --- assets/index-GOSkHKfN.js | 1 - assets/index-cVtElIPA.js | 1 + index.html | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 assets/index-GOSkHKfN.js create mode 100644 assets/index-cVtElIPA.js diff --git a/assets/index-GOSkHKfN.js b/assets/index-GOSkHKfN.js deleted file mode 100644 index d54ce82..0000000 --- a/assets/index-GOSkHKfN.js +++ /dev/null @@ -1 +0,0 @@ -(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))r(t);new MutationObserver(t=>{for(const s of t)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(t){const s={};return t.integrity&&(s.integrity=t.integrity),t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?s.credentials="include":t.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(t){if(t.ep)return;t.ep=!0;const s=n(t);fetch(t.href,s)}})();function u(e=10){const o=[];for(let n=0;n[o,e.A,e.G,e.C,e.T,e.A+e.G+e.C+e.T]),c=document.createElement("table"),i=document.createElement("thead"),d=document.createElement("tbody"),y=["x","A","G","C","T","y total"],b=i.insertRow();for(let e=0;e<6;e++){const o=b.insertCell();o.appendChild(document.createTextNode(y[e])),o.style.border="4px solid black"}for(let e=0;e{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function e(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=e(i);fetch(i.href,o)}})();function Tn(t,n){return tn?1:t>=n?0:NaN}function Rn(t){let n=t,e=t;t.length===1&&(n=(a,u)=>t(a)-u,e=_e(t));function r(a,u,s,f){for(s==null&&(s=0),f==null&&(f=a.length);s>>1;e(a[c],u)<0?s=c+1:f=c}return s}function i(a,u,s,f){for(s==null&&(s=0),f==null&&(f=a.length);s>>1;e(a[c],u)>0?f=c:s=c+1}return s}function o(a,u,s,f){s==null&&(s=0),f==null&&(f=a.length);const c=r(a,u,s,f-1);return c>s&&n(a[c-1],u)>-n(a[c],u)?c-1:c}return{left:r,center:o,right:i}}function _e(t){return(n,e)=>Tn(t(n),e)}function ve(t){return t===null?NaN:+t}const be=Rn(Tn),Me=be.right;Rn(ve).center;var Pt=Math.sqrt(50),Lt=Math.sqrt(10),Dt=Math.sqrt(2);function ke(t,n,e){var r,i=-1,o,a,u;if(n=+n,t=+t,e=+e,t===n&&e>0)return[t];if((r=n0){let s=Math.round(t/u),f=Math.round(n/u);for(s*un&&--f,a=new Array(o=f-s+1);++in&&--f,a=new Array(o=f-s+1);++i=0?(o>=Pt?10:o>=Lt?5:o>=Dt?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Pt?10:o>=Lt?5:o>=Dt?2:1)}function Ae(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Pt?i*=10:o>=Lt?i*=5:o>=Dt&&(i*=2),n+t(n)}function Re(t,n){return n=Math.max(0,t.bandwidth()-n*2)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function $e(){return!this.__axis}function Fn(t,n){var e=[],r=null,i=null,o=6,a=6,u=3,s=typeof window<"u"&&window.devicePixelRatio>1?0:.5,f=t===Rt||t===Q?-1:1,c=t===Q||t===$t?"x":"y",h=t===Rt||t===Ot?Ee:Ce;function l(d){var p=r??(n.ticks?n.ticks.apply(n,e):n.domain()),m=i??(n.tickFormat?n.tickFormat.apply(n,e):Se),w=Math.max(o,0)+u,k=n.range(),b=+k[0]+s,x=+k[k.length-1]+s,C=(n.bandwidth?Re:Te)(n.copy(),s),y=d.selection?d.selection():d,P=y.selectAll(".domain").data([null]),N=y.selectAll(".tick").data(p,n).order(),H=N.exit(),V=N.enter().append("g").attr("class","tick"),L=N.select("line"),g=N.select("text");P=P.merge(P.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),N=N.merge(V),L=L.merge(V.append("line").attr("stroke","currentColor").attr(c+"2",f*o)),g=g.merge(V.append("text").attr("fill","currentColor").attr(c,f*w).attr("dy",t===Rt?"0em":t===Ot?"0.71em":"0.32em")),d!==y&&(P=P.transition(d),N=N.transition(d),L=L.transition(d),g=g.transition(d),H=H.transition(d).attr("opacity",sn).attr("transform",function(v){return isFinite(v=C(v))?h(v+s):this.getAttribute("transform")}),V.attr("opacity",sn).attr("transform",function(v){var _=this.parentNode.__axis;return h((_&&isFinite(_=_(v))?_:C(v))+s)})),H.remove(),P.attr("d",t===Q||t===$t?a?"M"+f*a+","+b+"H"+s+"V"+x+"H"+f*a:"M"+s+","+b+"V"+x:a?"M"+b+","+f*a+"V"+s+"H"+x+"V"+f*a:"M"+b+","+s+"H"+x),N.attr("opacity",1).attr("transform",function(v){return h(C(v)+s)}),L.attr(c+"2",f*o),g.attr(c,f*w).text(m),y.filter($e).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===$t?"start":t===Q?"end":"middle"),y.each(function(){this.__axis=C})}return l.scale=function(d){return arguments.length?(n=d,l):n},l.ticks=function(){return e=Tt.call(arguments),l},l.tickArguments=function(d){return arguments.length?(e=d==null?[]:Tt.call(d),l):e.slice()},l.tickValues=function(d){return arguments.length?(r=d==null?null:Tt.call(d),l):r&&r.slice()},l.tickFormat=function(d){return arguments.length?(i=d,l):i},l.tickSize=function(d){return arguments.length?(o=a=+d,l):o},l.tickSizeInner=function(d){return arguments.length?(o=+d,l):o},l.tickSizeOuter=function(d){return arguments.length?(a=+d,l):a},l.tickPadding=function(d){return arguments.length?(u=+d,l):u},l.offset=function(d){return arguments.length?(s=+d,l):s},l}function Fe(t){return Fn(Ot,t)}function Ie(t){return Fn(Q,t)}var qe={value:()=>{}};function In(){for(var t=0,n=arguments.length,e={},r;t=0&&(r=e.slice(i+1),e=e.slice(0,i)),e&&!n.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:r}})}gt.prototype=In.prototype={constructor:gt,on:function(t,n){var e=this._,r=Pe(t+"",e),i,o=-1,a=r.length;if(arguments.length<2){for(;++o0)for(var e=new Array(i),r=0,i,o;r=0&&(n=t.slice(0,e))!=="xmlns"&&(t=t.slice(e+1)),cn.hasOwnProperty(n)?{space:cn[n],local:t}:t}function De(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===zt&&n.documentElement.namespaceURI===zt?n.createElement(t):n.createElementNS(e,t)}}function Oe(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function qn(t){var n=Nt(t);return(n.local?Oe:De)(n)}function ze(){}function Kt(t){return t==null?ze:function(){return this.querySelector(t)}}function Xe(t){typeof t!="function"&&(t=Kt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i=x&&(x=b+1);!(y=w[x])&&++x=0;)(a=r[i])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function cr(t){t||(t=lr);function n(h,l){return h&&l?t(h.__data__,l.__data__):!h-!l}for(var e=this._groups,r=e.length,i=new Array(r),o=0;on?1:t>=n?0:NaN}function hr(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function dr(){return Array.from(this)}function gr(){for(var t=this._groups,n=0,e=t.length;n1?this.each((n==null?Ar:typeof n=="function"?Sr:Nr)(t,n,e??"")):K(this.node(),t)}function K(t,n){return t.style.getPropertyValue(n)||Xn(t).getComputedStyle(t,null).getPropertyValue(n)}function Cr(t){return function(){delete this[t]}}function Tr(t,n){return function(){this[t]=n}}function Rr(t,n){return function(){var e=n.apply(this,arguments);e==null?delete this[t]:this[t]=e}}function $r(t,n){return arguments.length>1?this.each((n==null?Cr:typeof n=="function"?Rr:Tr)(t,n)):this.node()[t]}function Hn(t){return t.trim().split(/^|\s+/)}function Wt(t){return t.classList||new Vn(t)}function Vn(t){this._node=t,this._names=Hn(t.getAttribute("class")||"")}Vn.prototype={add:function(t){var n=this._names.indexOf(t);n<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Bn(t,n){for(var e=Wt(t),r=-1,i=n.length;++r=0&&(e=n.slice(r+1),n=n.slice(0,r)),{type:n,name:e}})}function ai(t){return function(){var n=this.__on;if(n){for(var e=0,r=-1,i=n.length,o;e>8&15|n>>4&240,n>>4&15|n&240,(n&15)<<4|n&15,1):e===8?lt(n>>24&255,n>>16&255,n>>8&255,(n&255)/255):e===4?lt(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|n&240,((n&15)<<4|n&15)/255):null):(n=pi.exec(t))?new A(n[1],n[2],n[3],1):(n=mi.exec(t))?new A(n[1]*255/100,n[2]*255/100,n[3]*255/100,1):(n=yi.exec(t))?lt(n[1],n[2],n[3],n[4]):(n=wi.exec(t))?lt(n[1]*255/100,n[2]*255/100,n[3]*255/100,n[4]):(n=xi.exec(t))?yn(n[1],n[2]/100,n[3]/100,1):(n=_i.exec(t))?yn(n[1],n[2]/100,n[3]/100,n[4]):ln.hasOwnProperty(t)?gn(ln[t]):t==="transparent"?new A(NaN,NaN,NaN,0):null}function gn(t){return new A(t>>16&255,t>>8&255,t&255,1)}function lt(t,n,e,r){return r<=0&&(t=n=e=NaN),new A(t,n,e,r)}function bi(t){return t instanceof at||(t=O(t)),t?(t=t.rgb(),new A(t.r,t.g,t.b,t.opacity)):new A}function Xt(t,n,e,r){return arguments.length===1?bi(t):new A(t,n,e,r??1)}function A(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}Zt(A,Xt,Wn(at,{brighter:function(t){return t=t==null?wt:Math.pow(wt,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?et:Math.pow(et,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:pn,formatHex:pn,formatRgb:mn,toString:mn}));function pn(){return"#"+Ft(this.r)+Ft(this.g)+Ft(this.b)}function mn(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function Ft(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function yn(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function Zn(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof at||(t=O(t)),!t)return new T;if(t instanceof T)return t;t=t.rgb();var n=t.r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,s=(o+i)/2;return u?(n===o?a=(e-r)/u+(e0&&s<1?0:a,new T(a,u,s,t.opacity)}function Mi(t,n,e,r){return arguments.length===1?Zn(t):new T(t,n,e,r??1)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Zt(T,Mi,Wn(at,{brighter:function(t){return t=t==null?wt:Math.pow(wt,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?et:Math.pow(et,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new A(It(t>=240?t-240:t+120,i,r),It(t,i,r),It(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(t===1?")":", "+t+")")}}));function It(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}const Jt=t=>()=>t;function ki(t,n){return function(e){return t+e*n}}function Ai(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Ni(t){return(t=+t)==1?Jn:function(n,e){return e-n?Ai(n,e,t):Jt(isNaN(n)?e:n)}}function Jn(t,n){var e=n-t;return e?ki(t,e):Jt(isNaN(t)?n:t)}const xt=function t(n){var e=Ni(n);function r(i,o){var a=e((i=Xt(i)).r,(o=Xt(o)).r),u=e(i.g,o.g),s=e(i.b,o.b),f=Jn(i.opacity,o.opacity);return function(c){return i.r=a(c),i.g=u(c),i.b=s(c),i.opacity=f(c),i+""}}return r.gamma=t,r}(1);function Si(t,n){n||(n=[]);var e=t?Math.min(n.length,t.length):0,r=n.slice(),i;return function(o){for(i=0;ie&&(o=n.slice(e,o),u[a]?u[a]+=o:u[++a]=o),(r=r[0])===(i=i[0])?u[a]?u[a]+=i:u[++a]=i:(u[++a]=null,s.push({i:a,x:S(r,i)})),e=qt.lastIndex;return e180?c+=360:c-f>180&&(f+=360),l.push({i:h.push(i(h)+"rotate(",null,r)-2,x:S(f,c)})):c&&h.push(i(h)+"rotate("+c+r)}function u(f,c,h,l){f!==c?l.push({i:h.push(i(h)+"skewX(",null,r)-2,x:S(f,c)}):c&&h.push(i(h)+"skewX("+c+r)}function s(f,c,h,l,d,p){if(f!==h||c!==l){var m=d.push(i(d)+"scale(",null,",",null,")");p.push({i:m-4,x:S(f,h)},{i:m-2,x:S(c,l)})}else(h!==1||l!==1)&&d.push(i(d)+"scale("+h+","+l+")")}return function(f,c){var h=[],l=[];return f=t(f),c=t(c),o(f.translateX,f.translateY,c.translateX,c.translateY,h,l),a(f.rotate,c.rotate,h,l),u(f.skewX,c.skewX,h,l),s(f.scaleX,f.scaleY,c.scaleX,c.scaleY,h,l),f=c=null,function(d){for(var p=-1,m=l.length,w;++p=0&&t._call.call(null,n),t=t._next;--W}function xn(){z=(vt=it.now())+St,W=j=0;try{zi()}finally{W=0,Hi(),z=0}}function Xi(){var t=it.now(),n=t-vt;n>ne&&(St-=n,vt=t)}function Hi(){for(var t,n=_t,e,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:_t=e);tt=t,Bt(r)}function Bt(t){if(!W){j&&(j=clearTimeout(j));var n=t-z;n>24?(t<1/0&&(j=setTimeout(xn,t-it.now()-St)),J&&(J=clearInterval(J))):(J||(vt=it.now(),J=setInterval(Xi,ne)),W=1,ee(xn))}}function _n(t,n,e){var r=new bt;return n=n==null?0:+n,r.restart(i=>{r.stop(),t(i+n)},n,e),r}var Vi=In("start","end","cancel","interrupt"),Bi=[],ie=0,vn=1,Yt=2,pt=3,bn=4,Gt=5,mt=6;function Et(t,n,e,r,i,o){var a=t.__transition;if(!a)t.__transition={};else if(e in a)return;Yi(t,e,{name:n,index:r,group:i,on:Vi,tween:Bi,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ie})}function tn(t,n){var e=E(t,n);if(e.state>ie)throw new Error("too late; already scheduled");return e}function F(t,n){var e=E(t,n);if(e.state>pt)throw new Error("too late; already running");return e}function E(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Yi(t,n,e){var r=t.__transition,i;r[n]=e,e.timer=re(o,0,e.time);function o(f){e.state=vn,e.timer.restart(a,e.delay,e.time),e.delay<=f&&a(f-e.delay)}function a(f){var c,h,l,d;if(e.state!==vn)return s();for(c in r)if(d=r[c],d.name===e.name){if(d.state===pt)return _n(a);d.state===bn?(d.state=mt,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[c]):+cYt&&r.state=0&&(n=n.slice(0,e)),!n||n==="start"})}function Mo(t,n,e){var r,i,o=bo(n)?tn:F;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}function ko(t,n){var e=this._id;return arguments.length<2?E(this.node(),e).on.on(t):this.each(Mo(e,t,n))}function Ao(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function No(){return this.on("end.remove",Ao(this._id))}function So(t){var n=this._name,e=this._id;typeof t!="function"&&(t=Kt(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Mt(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Z(t){return t=Mt(Math.abs(t)),t?t[1]:NaN}function jo(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(e.substring(i-=u,i+u)),!((s+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}}function ta(t){return function(n){return n.replace(/[0-9]/g,function(e){return t[+e]})}}var na=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function kt(t){if(!(n=na.exec(t)))throw new Error("invalid format: "+t);var n;return new en({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}kt.prototype=en.prototype;function en(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}en.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function ea(t){t:for(var n=t.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var se;function ra(t,n){var e=Mt(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(se=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Mt(t,Math.max(0,n+o-1))[0]}function Mn(t,n){var e=Mt(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const kn={"%":(t,n)=>(t*100).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Qo,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>Mn(t*100,n),r:Mn,s:ra,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function An(t){return t}var Nn=Array.prototype.map,Sn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ia(t){var n=t.grouping===void 0||t.thousands===void 0?An:jo(Nn.call(t.grouping,Number),t.thousands+""),e=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?An:ta(Nn.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"−":t.minus+"",s=t.nan===void 0?"NaN":t.nan+"";function f(h){h=kt(h);var l=h.fill,d=h.align,p=h.sign,m=h.symbol,w=h.zero,k=h.width,b=h.comma,x=h.precision,C=h.trim,y=h.type;y==="n"?(b=!0,y="g"):kn[y]||(x===void 0&&(x=12),C=!0,y="g"),(w||l==="0"&&d==="=")&&(w=!0,l="0",d="=");var P=m==="$"?e:m==="#"&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",N=m==="$"?r:/[%p]/.test(y)?a:"",H=kn[y],V=/[defgprs%]/.test(y);x=x===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function L(g){var v=P,_=N,B,un,st;if(y==="c")_=H(g)+_,g="";else{g=+g;var ft=g<0||1/g<0;if(g=isNaN(g)?s:H(Math.abs(g),x),C&&(g=ea(g)),ft&&+g==0&&p!=="+"&&(ft=!1),v=(ft?p==="("?p:u:p==="-"||p==="("?"":p)+v,_=(y==="s"?Sn[8+se/3]:"")+_+(ft&&p==="("?")":""),V){for(B=-1,un=g.length;++Bst||st>57){_=(st===46?i+g.slice(B+1):g.slice(B))+_,g=g.slice(0,B);break}}}b&&!w&&(g=n(g,1/0));var ct=v.length+g.length+_.length,I=ct>1)+v+g+_+I.slice(ct);break;default:g=I+v+g+_;break}return o(g)}return L.toString=function(){return h+""},L}function c(h,l){var d=f((h=kt(h),h.type="f",h)),p=Math.max(-8,Math.min(8,Math.floor(Z(l)/3)))*3,m=Math.pow(10,-p),w=Sn[8+p/3];return function(k){return d(m*k)+w}}return{format:f,formatPrefix:c}}var dt,fe,ce;oa({thousands:",",grouping:[3],currency:["$",""]});function oa(t){return dt=ia(t),fe=dt.format,ce=dt.formatPrefix,dt}function aa(t){return Math.max(0,-Z(Math.abs(t)))}function ua(t,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Z(n)/3)))*3-Z(Math.abs(t)))}function sa(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Z(n)-Z(t))+1}function rn(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t);break}return this}const En=Symbol("implicit");function on(){var t=new Map,n=[],e=[],r=En;function i(o){var a=o+"",u=t.get(a);if(!u){if(r!==En)return r;t.set(a,u=n.push(o))}return e[(u-1)%e.length]}return i.domain=function(o){if(!arguments.length)return n.slice();n=[],t=new Map;for(const a of o){const u=a+"";t.has(u)||t.set(u,n.push(a))}return i},i.range=function(o){return arguments.length?(e=Array.from(o),i):e.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return on(n,e).unknown(r)},rn.apply(i,arguments),i}function le(){var t=on().unknown(void 0),n=t.domain,e=t.range,r=0,i=1,o,a,u=!1,s=0,f=0,c=.5;delete t.unknown;function h(){var l=n().length,d=in&&(e=t,t=n,n=e),function(r){return Math.max(t,Math.min(n,r))}}function ha(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i2?da:ha,s=f=null,h}function h(l){return l==null||isNaN(l=+l)?o:(s||(s=u(t.map(r),n,e)))(r(a(l)))}return h.invert=function(l){return a(i((f||(f=u(n,t.map(r),S)))(l)))},h.domain=function(l){return arguments.length?(t=Array.from(l,ca),c()):t.slice()},h.range=function(l){return arguments.length?(n=Array.from(l),c()):n.slice()},h.rangeRound=function(l){return n=Array.from(l),e=Ii,c()},h.clamp=function(l){return arguments.length?(a=l?!0:G,c()):a!==G},h.interpolate=function(l){return arguments.length?(e=l,c()):e},h.unknown=function(l){return arguments.length?(o=l,h):o},function(l,d){return r=l,i=d,c()}}function ma(){return pa()(G,G)}function ya(t,n,e,r){var i=Ae(t,n,e),o;switch(r=kt(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(n));return r.precision==null&&!isNaN(o=ua(i,a))&&(r.precision=o),ce(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=sa(i,Math.max(Math.abs(t),Math.abs(n))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=aa(i))&&(r.precision=o-(r.type==="%")*2);break}}return fe(r)}function wa(t){var n=t.domain;return t.ticks=function(e){var r=n();return ke(r[0],r[r.length-1],e??10)},t.tickFormat=function(e,r){var i=n();return ya(i[0],i[i.length-1],e??10,r)},t.nice=function(e){e==null&&(e=10);var r=n(),i=0,o=r.length-1,a=r[i],u=r[o],s,f,c=10;for(u0;){if(f=$n(a,u,e),f===s)return r[i]=a,r[o]=u,n(r);if(f>0)a=Math.floor(a/f)*f,u=Math.ceil(u/f)*f;else if(f<0)a=Math.ceil(a*f)/f,u=Math.floor(u*f)/f;else break;s=f}return t},t}function he(){var t=ma();return t.copy=function(){return ga(t,he())},rn.apply(t,arguments),wa(t)}function nt(t,n,e){this.k=t,this.x=n,this.y=e}nt.prototype={constructor:nt,scale:function(t){return t===1?this:new nt(this.k*t,this.x,this.y)},translate:function(t,n){return t===0&n===0?this:new nt(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};nt.prototype;function xa(t=10){const n=[];for(let e=0;et.x)).padding(.02),R=he().range([At,0]).domain([0,Math.max(...ut.map(t=>t.total))]),Aa=["#21994e","#f7b536","#345e95","#d83541"];let me=on().domain(Ma).range(Aa);function Ct(t){let n=Kn(t).append("svg").attr("width",de+Y.left+Y.right).attr("height",At+Y.top+Y.bottom).append("g").attr("class","main").append("g").attr("transform","translate("+Y.left+","+Y.top+")");return n.append("g").attr("transform","translate(0,"+At+")").call(Fe(X)),n.append("g").call(Ie(R)),n}const Na=Ct("#seqlogo-barchart");Na.selectAll("bar").data(ut).enter().append("rect").attr("x",function(t){return X(t.x)}).attr("y",function(t){return R(t.total)}).attr("width",X.bandwidth()).attr("height",function(t){return At-R(t.total)}).attr("fill","#000000");const Sa=Ct("#seqlogo-stacked-barchart");Sa.append("g").selectAll("bars").data(pe).enter().append("rect").attr("x",function(t){return X(t.x)}).attr("y",function(t){return R(t.ymax)}).attr("width",X.bandwidth()).attr("height",function(t){return R(t.ymin)-R(t.ymax)}).attr("fill",function(t){return me(t.letter)});const Ea=Ct("#seqlogo-top"),Ca=Ct("#seqlogo-full");function ye(t){t.append("g").selectAll("text").data(pe).enter().append("text").attr("x",function(n){return X(n.x)}).attr("y",function(n){return R(n.ymax)}).attr("text-anchor","start").attr("alignment-baseline","hanging").text(function(n){return n.letter}).style("fill",function(n){return me(n.letter)}).style("font-family","monospace").style("font-size",function(n){return n.value===0?"0px":"95px"}).each(function(n){if(n.value!==0){const e=(R(n.ymin)-R(n.ymax))/this.getBBox().height;Kn(this).attr("transform",`translate(${X(n.x)}, ${R(n.ymax)}) scale(1, ${e*1.5})`).attr("x",0).attr("y",0)}})}ye(Ea);ye(Ca);const Ta=document.getElementById("seqlogo-data"),Ra=ge.map((t,n)=>[n,t.A,t.G,t.C,t.T,t.A+t.G+t.C+t.T]),an=document.createElement("table"),we=document.createElement("thead"),xe=document.createElement("tbody"),$a=["x","A","G","C","T","y total"],Fa=we.insertRow();for(let t=0;t<6;t++){const n=Fa.insertCell();n.appendChild(document.createTextNode($a[t])),n.style.border="4px solid black"}for(let t=0;t Transitioning Charts - +

Introducing new chart types

- This page is used to study the effect of introducing new chart types to a blind individual
- by starting from a known chart type and explaining the transitions. + This page is used to study the effectivity of introducing new chart types to a blind individual.
+ comparing a direct approach to a gradual approach (starting from a known chart type and explaining the transitions).

Sequence Logo

Data