Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I would like to use the d3.js custom visual and add my own D3 code into a Power BI report.
My question is, how do I add libraries to this editor? I would like to use the topojson library in order to make a map.
Thanks.
HI @tasmiaa,
AFAIK, current power bi service support some of common libraries.
I haven't found any document accurate list supported libraries, maybe you can try it if it works on your side.
Regards,
Xiaoxin Sheng
Do you know how to "add" the libraries into my D3 code using the Power Bi syntax?
Documentation says to start at the var margin...etc. and skips any of the <script....> tags to add libraries.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 26 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 57 | |
| 41 | |
| 31 | |
| 24 | |
| 20 |