dc.js
dc.js copied to clipboard
dc v3 related warning message while using dc v4
With https://unpkg.com/dc@4/dist/dc.js
, I get this message in the console :
You are using d3.schemeCategory20c, which has been removed in D3v5. See the explanation at https://github.com/d3/d3/blob/master/CHANGES.md#changes-in-d3-50. DC is using it for backward compatibility, however it will be changed in DCv3.1
So my guess is that dc v4 came back to using d3.schemeCategory20c
, is that correct ?
Thanks for pointing this out. It was a bad idea to specify in advance when the compatibility color scheme would be removed from DC.
It has not been removed yet.
That said you should still follow the advice from this warning and stop using this color scheme. It was removed from D3 because it was ambiguous.
I’ll fix this issue by removing the mention of 3.1 from the warning message.