Public
Edited
Dec 13, 2022
Insert cell
Insert cell
// import { visualize } from "@d3/d3-ticks"
Insert cell
Insert cell
Insert cell
viewof snap = Inputs.toggle({ label: "Snap to Res" })
Insert cell
Insert cell
Insert cell
Insert cell
<div class="modal" style="border:2px solid green">Hello World</div>
Insert cell
Insert cell
Insert cell
newrange
Insert cell
// d3
// .select(myplot)
// .select("g[aria-label=x-axis]")
// // .attr("fill", "grey")
// .attr("opacity", "0.25")
Insert cell
Insert cell
// x = d3.select(myplot).node()
Insert cell
Insert cell
{
if (myform.service == "") {
return;
}

var result = {
service: myform.service,
fstart: newrange[0],
fstop: newrange[1]
};
dataentry.push(result);

// const width = 360;
// const height = 20;
// const context = DOM.context2d(width, height);
// context.canvas.style.border = "solid 1px black";
// for (let i = width; i >= 0; --i) {
// context.clearRect(0, 0, width, height);
// context.fillRect(0, 0, i, height);
// yield context.canvas;
// }
// }
}
Insert cell
Math.round(marg[1], 0)
Insert cell
Insert cell
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