Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
AmraniO
Frequent Visitor

Custom Visuals - Call API

Hello,

 

Using D3 I could draw a map which I want to use it in my custom visuals. Seems like PowerBI does not process the call from D3 to Json API. 

d3.json("https://unpkg.com/world-atlas@1/world/110m.json", myCallback)

Any help is much appreciated.

Thanks;

 

Omar

1 REPLY 1
v-viig
Community Champion
Community Champion

It seems d3 is not in the global scope. We'd recommend to use window.d3 to access d3v5.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.