.transition() is not a function
Sidchou opened this issue · comments
Sidchou commented
does not work with .transition()
when library included, .transition is not a function
Curran Kelleher commented
This sounds like a problem with how you are bundling your code.
The .transition
function is added to the selection
prototype when you import d3-transition.
BellStone commented
Hello, this error occurred when I also did this version-up from 1.4.1
to 1.4.2
.
(Note that Github's d3-selection has a release of 1.4.1
and 1.4.2
is present at NPM.)
This error was resolved when I ran yarn upgrade
or yarn upgrade d3-selection
.