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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

D3.JS tooltip in Power BI Desktop

Dear, Everyone

I am new with D3.JS. I want to implement tooltip in D3.js code, it not works in power BI.But in web HTML file it works fine.

like below:

khihortmrm_0-1596716503442.png

 

this is my file power BI customize :

https://www.dropbox.com/s/e8jcsteot6bve0o/d3jsvisual.1.1.0.0.pbix?dl=0

 

 

Any suggestion on this?
Thank you in Advacne for your help.

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

@amitchandak thank for your reply.But your link sent to me(https://www.mssqltips.com/sqlservertip/5273/how-to-render-d3js-custom-charts-in-power-bi-desktop/).I followed it, but it not show how to implement Tooltip in Power BI.

Any other suggestion for me.
Thank in advance for your sharing your knowledge.

View solution in original post

Anonymous
Not applicable

My Solution I just play arround with .attr("x", (d3.event.pageX) +"px").attr("y",(d3.event.pageY -28) +"px");
now it works what i need.

View solution in original post

5 REPLIES 5
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

D3.js is a custom visual, you could contact with the author here:

 
Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Im having the same issue.  Could you provide the code you used to get the tooltips to work?

amitchandak
Super User
Super User

@Anonymous , refer if these can help

https://www.mssqltips.com/sqlservertip/5273/how-to-render-d3js-custom-charts-in-power-bi-desktop/

https://www.youtube.com/watch?v=nDXm14lSfso

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak thank for your reply.But your link sent to me(https://www.mssqltips.com/sqlservertip/5273/how-to-render-d3js-custom-charts-in-power-bi-desktop/).I followed it, but it not show how to implement Tooltip in Power BI.

Any other suggestion for me.
Thank in advance for your sharing your knowledge.

Anonymous
Not applicable

My Solution I just play arround with .attr("x", (d3.event.pageX) +"px").attr("y",(d3.event.pageY -28) +"px");
now it works what i need.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors