Public
Edited
Jun 28, 2023
Insert cell
Insert cell
viewof base = Inputs.range([0,100], {value: 5, step: 1, label: "Base"})
Insert cell
viewof height = Inputs.range([0,100], {value: 5, step: 1, label: "Height"})
Insert cell
side = Math.sqrt(part1 + part2)
Insert cell
part1 = Math.pow(height,2)
Insert cell
part2 = Math.pow((base/2), 2)
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