Public
Edited
Oct 2, 2024
Insert cell
Insert cell
Insert cell
Insert cell
day1Input[0].reduce((c,d,i)=>{
return d.includes('oneight') ? c.push(i) && c : c
},[])
Insert cell
Insert cell
Insert cell
d1p2_0[195]
Insert cell
d1p2 = d3.sum(d1p2_0, d=>d.result)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
d2p1_3 = d3.sum(d2p1_2, d=>d.id)
Insert cell
d2p2_0 = d3.sum(d2p1_1.map(it=>it.max.red * it.max.green * it.max.blue))
Insert cell
Insert cell
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