Published unlisted
Edited
Oct 30, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof number_of_iterations = {
containerLoaded; // will rerun cell once the container is loaded
return Scrubber(numbers, {loopDelay: 1000, delay: 500})
}
Insert cell
Insert cell
mutable containerLoaded = false;
Insert cell
max_step = {
if (width > breakpoint) {
return 13
}
else {
return 11
}
}
Insert cell
radius = {
if (width > breakpoint) {
return 1.5
}
else {
return 2.25
}
}
Insert cell
padding = {
if (width > breakpoint) {
return 0.2
}
else {
return 1.5
}
}
Insert cell
Insert cell
Insert cell
// import {radio, slider, color} from "@jashkenas/inputs"
Insert cell
// viewof max_step = slider({
// min: 1,
// max: 15,
// step: 1,
// value: 14,
// title: "Maximum Number of Steps",
// })
Insert cell
// viewof radius = slider({
// min: 1,
// max: 6,
// step: 0.5,
// value: 1.0,
// title: "Circle Radius",
// })
Insert cell
// viewof padding = slider({
// min: 0.1,
// max: 2,
// step: 0.1,
// value: 0.1,
// title: "Circle Padding",
// })
Insert cell
// viewof fillColor = color({
// value: "#b818cd",
// title: "Fill Color",
// })
Insert cell
// viewof baseColor = color({
// value: "#e0e0e0",
// title: "Base Color",
// })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
html`<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap" rel="stylesheet">`
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