dc.js compatibility with v4 of d3.js

前端 未结 1 1375
清酒与你
清酒与你 2020-12-19 21:28

Version 4.x of d3.js, which is not backward compatible, came out end of June16.

The bower.json for dc.js includes:

\"depend         


        
相关标签:
1条回答
  • 2020-12-19 22:10

    It's definitely not compatible. d3 v4 has breaking api changes.

    As far as plans go, there's a lively discussion about this on dc.js' github acount:

    So what is the plan then? Use @jfsiii suggetion of finishing off dc v2 using d3 v3 and then create dc v3 using d3 v4? Would upgrading to d3 v4 warrant an almost complete re-write?


    gordonwoodhull: Something like that. ... I doubt it's a rewrite as there are a lot of subtle details to the way the code is now. Of course if you want to write dc.js from scratch, no one's stopping you, but I'd rather see this repo evolve... Many chart libraries have died from trying to change everything at once.

    0 讨论(0)
提交回复
热议问题