Public
Edited
Feb 15, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fit_rule_width = fit_radius*2
Insert cell
rule_padding = .95
Insert cell
padded_rule_width = fit_rule_width * (1 - (use_dot_margin ? rule_padding : 0))
Insert cell
Insert cell
// d3.scaleLinear()
// .domain([0, 1152])
// .range([0, ])
Insert cell
indexes = [...Array(num_points)].map((d,i) => i)
Insert cell
data = indexes.map((d)=> Object({i:d, y: 1*Math.sin(2*Math.PI *d/(num_points-1))}))
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