d3-3d
d3-3d copied to clipboard
Typings (@types)
Hi! First of all, thank you for the amazing lib! It's the perfect companion for D3.
I've been using the latter in an Angular 6 project and it has its Typings available at:
npm install --save-dev @types/d3
Now, it's time to turn my charts into 3D. :chart_with_upwards_trend: Is there a way to obtain Typings for D3-3D also?
Thanks in advance!
@ruipimentel Hi, did you eventually get the types for typescript?
@MariDani Hi!
Unfortunately I did not. Had to take a break at that project, even though I still search a solution for it from time to time.
If you ever get to find the types, please let people know about it here, ok? :D
Thanks in advance!
Even though I still haven't found @types
for D3-3D, at least I found a way to import it inside of an Angular 6 project without getting errors.
import { _3d } from 'd3-3d';
Then, instead of using it as shown on the repo's homepage (d3._3d()
), just proceed to call _3d()
directly.