I am trying to add some hover data to each node in a Sankey Diagram, I have tried both hoverinfo and hovertemplate but I can’t get them to work. I have searched online and there have been a few questions about this, even a bug report on GitHub (https://github.com/plotly/plotly.js/issues/3097
), but I’m not sure this was fixed properly.
This feature is now available with plotly 4.6, please see the example on hovertemplate and customdata of sankey diagrams.
It is not available in the R version, is it? “customdata” does not work for me there in plotly 4.9.2.1
I too am having this issue, where using customdata only displays “%{customdata}” in the link hovers.