Plot: Can I use Bin and Stack together?

You can use the z option (or stroke or fill) to separate series. If you have one “series” for each datum, you get individual blocks.

In your code just add:

z: (_, i) => i, inset: 0.5