The dc has undergone significant internal changes while moving to v3. Effort has been made to keep the API as close as possible.
d3 team has released version 4 which is not backward compatible with their version 3. dc relies very heavily on d3. It is quite likely that your code uses bits of d3.
Outline of the upgrade process:
d3.curveStepBefore
and 'cardinal' to d3.curveCardinal
.
See https://github.com/d3/d3/blob/master/CHANGES.md#shapes-d3-shape
for equivalent function calls.d3.geoAlbersUsa()
was the default
for .projection. If you are plotting US states please call
.projection(d3.geoAlbersUsa())
explicitly on your chart.Generated using TypeDoc