Public
Edited
Nov 25, 2022
Insert cell
Insert cell
data = FileAttachment("penguins.csv").csv({typed: true})
Insert cell
import {interval} from '@mootari/range-slider@1781'
Insert cell
import { show_x3d, create_surface} from "@mcmcclur/parametric-surfaces"
Insert cell
viewof xrange = interval([-10, 10], {
step: .25,
value: [-3, 3],
label: 'My slider',
})
Insert cell
viewof yrange = interval([-10, 10], {
step: .25,
value: [-3, 3],
label: 'My slider',
})
Insert cell
function matthy(obj) {
obj = eval(obj);
}
Insert cell
show_x3d([
create_surface((x, y) => [x, y, eval(func)], xrange, yrange)
])
Insert cell
viewof func = Inputs.text({label: html`<b>Function</b>`, placeholder: "What’s your function?"})
Insert cell
func
Insert cell
xrange
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