Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
I am new to the Power BI visuals, and I am trying to build the basic BarChart from the below link.
https://github.com/Microsoft/PowerBI-visuals
Now, the problem is, when I use the command "pbiviz start", I get the below error.
PS C:\Users\<user-name>\barChart> pbiviz start
info Building visual...
error TYPESCRIPT /src/barChart.ts : (27,22) Cannot find namespace 'd3'.
error TYPESCRIPT /src/barChart.ts : (29,36) Cannot find namespace 'd3'.
error TYPESCRIPT /src/barChart.ts : (30,31) Cannot find namespace 'd3'.
error TYPESCRIPT /src/barChart.ts : (31,23) Cannot find namespace 'd3'.
error TYPESCRIPT /src/barChart.ts : (47,34) Cannot find name 'd3'.
error TYPESCRIPT /src/barChart.ts : (88,26) Cannot find name 'd3'.
error TYPESCRIPT /src/barChart.ts : (99,26) Cannot find name 'd3'.
error TYPESCRIPT /src/barChart.ts : (103,26) Cannot find name 'd3'.
Can anyone help me to resolve this issue?
Regards,
Mi2n
Solved! Go to Solution.
Following the steps in the below link solved the issue.
http://blog.jongallant.com/2016/11/pbiviz-12-d3-35-reference/
Thanks,
Mi2n
Following the steps in the below link solved the issue.
http://blog.jongallant.com/2016/11/pbiviz-12-d3-35-reference/
Thanks,
Mi2n
Glad to hear that you've solved this problem and thank you for sharing the solution. This might be beneficial to other community members, you could help mark it as answer.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |