Unlisted
Edited
Dec 23, 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
val = {
let index = 0;
// await Promises.delay(5000);
do {
const newValues = array[index].ranks;
yield newValues;
index = (index + 1) % array.length;
await Promises.delay(1300);
} while (true);
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
[...new Set(data.map((d) => d.airline))].sort()
Insert cell
Insert cell
Insert cell
Plot.image(aa, { x: "id", src: "tail" }).plot()
Insert cell
// Plot.plot({
// y: { axis: null },
// height: 350,
// // facet: { data, y: "country", marginLeft: 100, marginRight: 50 },
// marks: [
// Plot.text(
// data,
// Plot.stackX({
// y: "animal",
// text: d => textScale(d.animal),
// fontSize: 45,
// textAnchor: "start"
// })
// )
// ]
// })
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