I am trying to make a gradient path along a circle. Very similar to this example.
http://bl.ocks.org/mbostock/4163057
This is D3 version 3. I'm trying to update this to Version 4. I fixed a few items like d3.ns.prefix.svg is now d3.namespaces.svg d3.svg.line().interpolate("basis") is now d3.line().interpolateBasis;
What is killing me is that function d3.line().interpolateBasis is retuing "line is not a function" d3.line and d3.arc is retuing NaN.
here is a working version of what i am trying to do in D3 V3 but if you change <script src="//d3js.org/d3.v3.min.js"></script> to <script src="//d3js.org/d3.v4.min.js"></script> it doesnt work. any help would be appreciated.
