When comparing C3.js vs Chart.js, the Slant community recommends Chart.js for most people. In the question“What are the best JavaScript charting libraries? ” Chart.js is ranked 1st while C3.js is ranked 6th. The most important reason people chose Chart.js is:
The library contains a set of 6 charts and is 11Kb gzipped, this makes its loading time and page impact low.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Declarative interface
Pro Legend out of the box
Pro Easy rotation (swap X and Y), and inverting
Pro Easy to configure and supports all basic charts
With legends and tooltips, gridlines, axis and tick label customization, etc.
Pro Good set of examples
Pro Unified data model which allows easily switch between chart types
Pro Lightweight and fast
The library contains a set of 6 charts and is 11Kb gzipped, this makes its loading time and page impact low.
Pro Responsive charts
The charts are fully responsive, meaning they resize based on the viewport width.
Pro Clear documentation
The chart.js documentation is well organized and provides detailed information on using each feature.
Pro Plugin support
Many plugins available via NPM and you can easily write your own
Cons
Con Requires D3 which is not lightweight at all
Con Limited features
Chart.js currently offers only 6 graph types, and lacks the flexibility offered by other options. For example, controlling the display of tooltips is fairly limited.
Con Canvas based
Canvas it bitmap based and shares the same issues as non-vector formats.