I'm new to JS/D3.js (so thanks in advance for any support). I'm trying to create a basic sankey diagram using Gerardo's d3.v5 fork https://bl.ocks.org/GerardoFurtado/ff2096ed1aa29bb74fa151a39e9c1387 however when I try to run the same script I'm getting the error:
"Uncaught TypeError: sankey.link is not a function"
What am I missing? Looking through the latest version of d3-sankey I cannot see the function, is this from a previous version of d3-sankey? Whats the alternative now if that is the case?