When comparing Chart.js vs Google Charts, 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 Google Charts is ranked 14th. 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 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
Pro Easy to use
Google Charts has a large selection of chart types to get started with and have up in running in very little time. It uses sensible defaults, but has flexible options to allow for customization when needed. Better than most other free to use Chart APIs and has great documentation provided by Google.
Pro Supports multiple Y axes
Important for trend correlation, eg. comparing number of clicks to sale amounts. Not same scales / units.
Cons
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.
Con Cannot self-host
Google does not allow you to save or host the code yourself.