finishedTests = Plot.plot({
marks: [
Plot.cell(testJobs, {
x: "run_number",
y: "name",
fill: "conclusion",
fillOpacity: "minutes",
stroke: "conclusion",
title: (d) => `${d.conclusion} after ${d.minutes.toFixed(2)} min`
})
],
color: {
domain: ["success", "failure", "cancelled"],
range: ["green", "red", "grey"]
},
width: width,
marginLeft: 160,
marginBottom: 50,
x: { tickRotate: 45 }
})