Open JG-QuarkNet opened 9 months ago
dc.js 5.0.0 alpha is working for me with d3 7.8.5 without any issues
Since D3 and dc.js are both evolving, the best way to answer this sort of question is to look at the package.json for the version of dc.js you are using
dc.js 4.0.0 is compatible with d3 5.15
https://github.com/dc-js/dc.js/blob/66f6f31700251afd6b0630e7a9b397296ecf99ed/package.json#L28
dc.js 4.2.7 is compatible with d3 6.6.2
According to the changelog, version 4.1 and above is compatible with d3 6. while remaining compatible with 5.
https://github.com/dc-js/dc.js/blob/18a05a92b01693ebaf9fbf3afda4ee820f54621a/package.json#L28
Deepak has taken over as of dc.js 5.* - looks like the latest on dc-v5
branch is compatible with d3 7.1.1
https://github.com/dc-js/dc.js/blob/390d8a6c18735e1bbfcadfb5c7334c9c77382901/package.json#L28
Thanks for the info! Do you know if there's going to be a stable release of 4.27 or anything on 5.*?
4.2.7 is a stable release - up through 4.* we followed continuous integration and a scaled-down variant of semantic versioning.
@kum-deepak introduced a lot of breaking changes in 5.*, and for good reason. He has cleaned things up quite a bit.
Maybe he can answer how stable the dc-v5
branch is.
I'm trying to update a webapp that uses DC.js, D3.js, and Crossfilter to use all currently-supported versions of these libraries.
When I test using the following versions
the graphs misbehave and the console logs the error
The root of the error stack is attributed to
coordinate-grid-mixin.js:978:13
, which only exists on this system as a reference within the DC v4 map filedc-4.0.0.min.js.map
.I'm guessing that
r.event
refers tod3.event
, which was removed in D3 v6, and that DC hasn't yet been updated to reflect its removal. Is that the case, and if so, have you determined what the highest version of D3 is that DC v4 is compatible with? I've looked through the issues here and found lots of discussion about D3 and DC versions, but I couldn't find a clear statement of the bottom line.Thanks for your work on the library.