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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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