Public
Edited
Mar 17, 2024
1 fork
Insert cell
Insert cell
Insert cell
results = fetch("https://raw.githubusercontent.com/time4tea/http4k-functional/main/results.json").then(it => it.json())
Insert cell
Insert cell
results
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
jvm = results.filter(it => it.type == 'jvm')
Insert cell
native = results.filter(it => it.type == 'nat')
Insert cell
Insert cell
Plot.plot(
{
x: { grid: true },
y: { grid: true },
color: { legend: true},
marks: [
Plot.line(jvm, {
x: "desc",
y: "time",
z: "tech",
stroke: "tech"
}),
Plot.text(jvm, {
x: "desc",
y: "time",
z: "tech",
text: "time",
dy: -10,
fontSize: "1.5em"
}),
]
}
)

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