score:0

Accepted answer

The way the composite chart works currently, it needs to be able to read enough of the data to prepare the scales/axes for the child charts.

This means it may need a group (only for ordinal X scale I think, in order to get the keys) and it needs xUnits to know how many ticks to show.

If you add .group() and .xUnits() to the composite chart, it draws:

    compositeChart
        .group(totalEmissionsCarPetrolGroup)
        .xUnits(dc.units.ordinal)

composite chart

Fork of your fiddle.


Related Query

More Query from same tag