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
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors