Public
Edited
Mar 30, 2023
Fork of Untitled
2 forks
Insert cell
Insert cell
Insert cell
rowHeight = 220
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
allDays = flatUserArray
.map((d) => d.days)
.flat()
.slice(0, linesToShow)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
axisHeight = 20
Insert cell
Insert cell
Insert cell
// normal_curve = {
// const points = [];
// for (let value of d3.range(...x.domain(), bin_width / 10)) {
// points.push([
// value,
// dnorm(value, sample_mean, sample_sd) * bin_width * sample_size
// ]);
// }
// return points;
// }
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