Published
Edited
Feb 24, 2021
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
view(bqn`{×´∾1↑(⥊2020=+´¨𝕩)/(⥊𝕩)}{𝕩≍⌜𝕩}`(bqninput))
Insert cell
Insert cell
// cartesian_product = bqn`{𝕩≍⌜⎉1𝕩}`(bqninput)
Insert cell
// get_pair_index = bqn`{(⥊2020=+´¨𝕩)/(⥊𝕩)}`(cartesian_product)
Insert cell
// pair = bqn`{∾1↑𝕩}`(get_pair_index)
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