Skip to content

docs: clarify explicit grid tick values#2438

Open
cat0825 wants to merge 1 commit into
observablehq:mainfrom
cat0825:docs/grid-mark-ticks
Open

docs: clarify explicit grid tick values#2438
cat0825 wants to merge 1 commit into
observablehq:mainfrom
cat0825:docs/grid-mark-ticks

Conversation

@cat0825
Copy link
Copy Markdown

@cat0825 cat0825 commented May 31, 2026

Summary

  • Clarify that an explicit grid mark computes its own ticks when data is omitted.
  • Explain that scale-level ticks are used by the implicit grid created via the scale grid option.
  • Add an explicit Plot.gridX(ticks) / Plot.axisX(ticks) example for manually aligned ticks.

Fixes #2378

Verification

  • pnpm exec prettier --check docs/marks/grid.md
  • git diff --check
  • pnpm run docs:build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grid mark doesn’t use its corresponding axis’ ticks

1 participant