You’re not alone Here’s the relevant issue Interval-aware default tick formats · Issue #932 · observablehq/plot · GitHub.
What you could do in the meantime is filter out the non-int ticks with:
tickFormat: d => d > Math.floor(d) ? "" : `${d}`
You’re not alone Here’s the relevant issue Interval-aware default tick formats · Issue #932 · observablehq/plot · GitHub.
What you could do in the meantime is filter out the non-int ticks with:
tickFormat: d => d > Math.floor(d) ? "" : `${d}`