Unlisted
Edited
Nov 27, 2022
Insert cell
Insert cell
Insert cell
list = ["AAAA", "BBBB", "CCCC"]
Insert cell
viewof selection = Inputs.select(list, {multiple:true, value: ["AAAA"]})
Insert cell
selection
Insert cell
df = [{num: 1, symbol: "AAAA"}, {num:2, symbol: "BBBB"}, {num:3, symbol: "CCCC"},{num:4, symbol: "AAAA"}, ]
Insert cell
df.filter(d=> selection.includes(d.symbol))
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