need help to understand how to resolve issue with d3-sankey chart.
I am upgrading sankey chart from 0.4.2 version to latest version, which gives error with layout method which is deprecated in latest version.
Kindly help.
Code is used as :
sankey
.nodes(graph.nodes)
.links(graph.links)
.layout(32);
after removing layout methods error is as below
attr.js:30 Error: attribute transform: Expected number, “translate(undefined,undefi…”.
(anonymous) @ attr.js:30
Tried using sankey() method instead of layout but did not work.