Public
Edited
Jan 28
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data = d3.range(seedOffset, seedOffset + seeds)
.map(seed => ({seed, rng: d3.randomLcg(seed)}))
.flatMap(
({seed, rng}) => (
Array.from({length: callOffset}, rng), // discarded values
d3.range(calls).map(n => ({seed, n, v: rng()}))
)
)
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