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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 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.