Public
Edited
Nov 5, 2023
2 forks
2 stars
Insert cell
Insert cell
Insert cell
'hello cell'
Insert cell
Insert cell
retort = 'hello yourself'
Insert cell
Insert cell
Insert cell
check = "Hello"
Insert cell
`You said "${check}"`
Insert cell
Insert cell
viewof slider = html`<input type="range" value=42 min=0 max=100 step=1></input>`
Insert cell
Insert cell
tex`f(x) = x^2 \rightarrow f(${slider}) = ${slider}^2 = ${slider * slider}`
Insert cell
Insert cell
result = {
const myConstant = "Let me count ";
let myVariable = [];

for (let i = 0; i < 6; ++i) {
myVariable.push(`${i}`);
}

return md`${myConstant + myVariable}`;
}
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require('d3@6')
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