Drop c3 and use directly d3
c3js is stuck with version 3 of d3: https://github.com/c3js/c3/issues/1648
I think we should always try to minimize dependencies, so we should use directly the version 4 of d3: https://github.com/d3/d3/releases/tag/v4.0.0