Public
Edited
Oct 21, 2021
2 forks
Importers
Insert cell
Insert cell
Insert cell
Insert cell
rep(['a', 'b', 'c'], {each: 3})
Insert cell
Insert cell
rep([1, 2, 3, 4], {times: 2})
Insert cell
Insert cell
rep([0, 1], {each: 2, times: 3})
Insert cell
Insert cell
danger = rep([[9, 5], 'banana', ['a', 'z']], {times: 2, each: 2})
Insert cell
{
danger[4][1] = 'Is this what I wanted?';
return danger;
}
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