Published
Edited
Dec 11, 2019
Insert cell
Insert cell
chart={Object.assign(window,{data,d3,width});return(0,eval)(`for(_='t=>~~t|",ZZ"YfillYX).W"WUatT("RanQTtrRPWPN"NMX#682775KwidthJ(t,a)=>In.bQdJ()HMxZIn(a)GKG+H/F500E),DDiCma@in?e(&WrQg&[%]=s();$select!1emMdyYd3.=scalereWcall()"axis])textW(|["+(+a+1)0,NJZH/2Dfont-dTa.appendRctMeightZdo@?W!AllRstyl&"const MxZ50NyZNh~p(0)-p(t[NyZ~p(t[XsteelblueNdxY.5emURpart Nh12NJZ12CCg"|.PtrQsformYtrQslT&G00 t=2a=e=3r=4d=cT&"divUpositionYlTive"C=dsvgMviewBoxZ[J,E,l=ig"gU(Wjo?Rg"DnBQd(W(.@p(Ia)%r,J-a.padd?g(.1DpL?ear(W([@x(,|[1.nic&%E-e,t;function s(){ t=laMhfZI"https://github.com/kirjavascript/adventofcode/te/@ster/2019/day+"/@?.jsMtargetY_blQk");turn[ttMdxY-.1.4emM-QchorYmiddleMsizeY16pxMw600NfamilyYVerdQa")]} [h,o$h.Po.F400; [x,c$x.PF211c.G+.75*H11]"+(E-e)+"Bottom(nWtickSizeOuter(0)U(I"day )"+r+Z0Left(p)|.!R.Umov&))C15151"CK40402"Dd.nod&)';G=/[^ "#(->ABLOSV[-{}]/.exec(_);)with(_.split(G))_=join(shift());eval(_)`)}
Insert cell
data = [[49, 72], [111, 148], [217, 196], [79, 144], [232, 232], [109, 219], [0,0], [208, 163]]
Insert cell
d3 = require("d3@5")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more