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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.