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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Madhumitha
Frequent Visitor

How to install and use topojson in Power BI custom visual

Hi,

 

I am developing a custom visual which is related to Map.

I am using D3 library for this. To draw a map, D3 is using topojson. 

I don't know where should I refer the topojson library in the custom visual.

I am referring the below link to develope the custom visual.

http://blog.jongallant.com/2016/11/pbiviz-12-d3-35-reference/

I need a detailed explanation on how to install topojson library? where should I refer that? and how to use that in the javascript file?

 

Kindly help me. 

Thanks in advance.

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Madhumitha,

 

This is a very similar issue to that in this thread, you may have a look.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

Thank you for your reply.

Can I add any JSON file in the external folder which I want to use in my Javascript code.

@Madhumitha,

 

Just use JS instead for the time being.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors