Published
Edited
Mar 20, 2021
Importers
Insert cell
Insert cell
function combos (s) {
const newSet = new Set()
s.forEach((e, i) => {
s.forEach((f, j) => {
if (j > i) newSet.add(new Set([e, f]))
})
})
return newSet
}

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