Plot.dot(apiLogData.filter((d) => selectedCodes.includes(d.status_code)), {
x: "timestamp",
y: "duration",
fill: "path",
fillOpacity: 0.5,
r: "status_code",
title: ({ duration, status_code, path }) =>
[path, `duration: ${duration}ms`, `status: ${status_code}`].join("\n"),
}).plot({
width,
height: width / 2,
x: { axis: null, grid: true },
y: { grid: true },
})