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 Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Kudoed Authors