You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @zouxuoz 👋 thanks for checking out visx. This actually isn't a visx issue, and it is intentional behavior from the underlying d3-scale for "collapsed domains" (where start === end).
This is similar to visx issue #473 with a suggested workaround, and ultimately you can see the d3-scale issue/fix here.
Looks like
scaleLinear
returns invalid value fordomain
= [0, 0]Use case: when all values on the chart equals 0
Current behaviour:
Expected behaviour:
The text was updated successfully, but these errors were encountered: