Skip to content

Conversation

mbostock
Copy link
Member

Fixes #2331. Breaks a bunch of tests, of course. And should probably only apply to positional scales, not to (e.g.) color? And having an implicit rule would also be nice. Is this too opinionated?

@mbostock mbostock requested a review from Fil June 19, 2025 02:38
@Fil
Copy link
Contributor

Fil commented Jun 19, 2025

I don't mind it being applied to color as well, in the linear case. But it's probably less important.

Adding a default rule seems a tad too opinionated. The new visible tick at 0 is enough to ground the chart.

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.

Include zero in the domain of default positional scales if it's "almost" there?
2 participants