Forum Discussion
TedPattison
9 years agoMicrosoft Employee
Adding D3 support to a custom visual project
All the Microsoft documentation and samples about adding D3 typed definition files to a custom visual project use the typings utility. Here is what the instructions are on the Power BI Visuals repo i...
vizdata
8 years agoFrequent Visitor
Thanks for sharing. Last month your instructions worked like a charm. This month, npm install d3@3 --save throws an error although npm install @types/d3@3 --save works fine. Even when I copy across the d3 folder I created this way to my new folder, it won't work. I wonder if support has been removed for d3 version 3 with npm, and whether you could update your excellent instructions accordingly.
- v-viig8 years agoCommunity Champion
Installation of d3@3 works well for me.
What npm and nodejs versions do you use? What kind of error have you faced?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals