Public
Edited
Mar 23, 2023
1 star
Insert cell
Insert cell
Insert cell
distributions = [
[0.5, 0, 0, 0, 0.5], // Extreme ends: linear optimal
[1 / 3, 0, 1 / 3, 0, 1 / 3], // Every other: three equal groups
[0.25, 0, 0.5, 0, 0.25], // Center end: optimal quadratic
[0.9, 0, 0, 0, 0.1], // 9:1 extreme unequal two groups
[0.75, 0, 0, 0, 0.25], // 3:1 two groups
[0.67, 0, 0, 0, 0.33], //2:1
[0.85, 0, 0, 0, 0.15], // 5.8:1
[0.94, 0, 0, 0, 0.06], // 15:1
[0.07, 0.2, 0.46, 0.2, 0.07], // normal-like single-peaked distribution
[0.2, 0.46, 0.2, 0.07, 0.07], // skewed
[0.2, 0.2, 0.2, 0.2, 0.2], // uniform
[0.375, 0, 0.25, 0, 0.375], // Compromise
[0.375, 0.11, 0.03, 0.11, 0.375], //U-shaped
[0.47, 0, 0.06, 0, 0.47]
]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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