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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more