Use Chart.js
As we had in the past (#6511 (closed)), the c3js/d3 dependency can be difficult to manage. We may replace by Chart.js [1] which seems quite simple to use and has better performance (large datasets) because it uses canvas instead of svg.
[1] https://www.chartjs.org/