خرید بک لینک

Vote count: 0

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.

asked 42 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 9 تير 1395 ساعت: 8:11

صفحه بندی