cancel
Showing results for 
Search instead for 
Did you mean: 
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 I
Super User I

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 I
Super User I

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

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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.