Platform
Resources
Pricing
Sign in
Get started
NDP
Failing for the right reasons
Workspace
Fork
Published
By
NDP
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
combos
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML