Plot.plot({
marginLeft:40,
marks: [
Plot.gridY({
strokeDasharray: "0.75,2",
strokeOpacity: 1
}),
Plot.axisY({
tickSize: 0,
dx: 38,
dy: -6,
lineAnchor: "bottom",
tickFormat: (d, i, _) => (i === _.length - 1 ? `${d}` : d)
}),
Plot.line(result, { x: "primitiveCount", y: "itemsDequeued", stroke: "green" }),
Plot.line(result, { x: "primitiveCount", y: "workPerThread", stroke: "orange" }),
Plot.line(result, { x: "primitiveCount", y: "cellsPerThread", stroke: "purple" }),
]
})