Skip to content
Discussion options

You must be logged in to vote

You can not apply an interval interactor over a discrete domain (such as the ordinal domain used by a bar chart). That is why you are seeing this invert error. Non-continuous scales have no invert function defined.

Intervals are only defined over continuous numerical or temporal data. So you need to use a different interactor, such as toggleY (to click bars) or region (to select individual bars using a brush and select their underlying discrete values rather than a [min, max] interval). Hope that helps!

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@domoritz
Comment options

@will-moore
Comment options

@jheer
Comment options

jheer Oct 9, 2025
Maintainer

Answer selected by will-moore
@will-moore
Comment options

@jheer
Comment options

jheer Oct 9, 2025
Maintainer

@will-moore
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants