Closed GuillaumeMilan closed 3 years ago
I got the following package.json
"d3": "^6.2.0", "d3-transition": "^2.0.0",
And the following code (coming from the example of textTween):
const div = d3.create("div") div.transition().duration(5000).textTween(() => t => `t = ${t.toFixed(6)}`)
I got the following error:
Uncaught (in promise) TypeError: div.transition(...).duration(...).textTween is not a function
I tried to search for version issue but it seems to not be that:
Sorry for this issue. I was working with 2 version of d3 side to side without noticing it
I got the following package.json
And the following code (coming from the example of textTween):
I got the following error:
I tried to search for version issue but it seems to not be that: