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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
nicktayl
Helper I
Helper I

How do I port over a working d3.js visual to the visual template I initialized?

I have setup a template for a new custom visual as described here: https://www.youtube.com/watch?v=WSGimG8BRYg&t=1067s

 

Instead of creating the visual the instructor describes, I'd like to use the script for this Sankey diagram here: https://observablehq.com/d/82d202fab362a1a5

 

The purpose is to build a POC of a custom visual using existing script.

 

I am having difficulty finding instructions for a straightforward way to do this. Most tutorials focus on using the d3.js visual.

 

Much thanks!

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @nicktayl,

I have a 2-part series on porting a simple d3 example visual to custom visuals. Hopefully this may give you some ideas.

If you have specific questions about your situation, it might we worth sharing the code you currently have and a working link to your Observable example visual - I couldn't get the link you posted to work unfortunately:

dm-p_0-1595533773018.png

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

2 REPLIES 2
dm-p
Super User
Super User

Hi @nicktayl,

I have a 2-part series on porting a simple d3 example visual to custom visuals. Hopefully this may give you some ideas.

If you have specific questions about your situation, it might we worth sharing the code you currently have and a working link to your Observable example visual - I couldn't get the link you posted to work unfortunately:

dm-p_0-1595533773018.png

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Thank you, it was the sankey diagram. Your post looks super promising. I'm surprised it didn't come up in my searches. It should be indexing high in searches. I will take a look at it before posting follow up questions. Thanks!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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