ReferenceError: d3 is not defined

testing solution after moving d3 sankey from html to sankey