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
I'm trying to understand what @visx/scale offers on top of d3-scale.
By looking at the docs and examples, @visx/scale is widely used instead of d3-scale, so I'm assuming that's the recommendation (as opposed to using d3-array directly instead of a hypothetical non-existent @visx/array).
Looking at the source code, it looks like a wrapper on d3-scale, mostly to improve typings, as well as exporting a few utils that don't look that complex. Of course, I'm probably missing something important, and that's why I'm asking :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to understand what
@visx/scale
offers on top ofd3-scale
.By looking at the docs and examples,
@visx/scale
is widely used instead ofd3-scale
, so I'm assuming that's the recommendation (as opposed to usingd3-array
directly instead of a hypothetical non-existent@visx/array
).Looking at the source code, it looks like a wrapper on
d3-scale
, mostly to improve typings, as well as exporting a few utils that don't look that complex. Of course, I'm probably missing something important, and that's why I'm asking :)Thanks!
Beta Was this translation helpful? Give feedback.
All reactions