Public
Edited
Jan 3, 2023
Insert cell
Insert cell
viewof n = Inputs.range([1, 10], {label: 'Number of elements', step: 1, default: 2})
Insert cell
viewof frequencies = Inputs.form(Array(n).fill().map((d, i) => {
return Inputs.range([0, 255], {step: 1, label: "Frequency " + i})
}))
Insert cell
frequencies
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