Published unlisted
Edited
Oct 17, 2021
Insert cell
Insert cell
Insert cell
n2 = {
let n = Inputs.range([1, 9], { value: 5, step: 1, label: tex`n:` });
d3.select(n).select("input[type=number]").style("width", "50px");
d3.select(n).select("label").style("width", "20px");
return n;
}
Insert cell
Insert cell
n1 = Inputs.range([1, 9], { value: 5, step: 1, label: tex`n:` })
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