
Chart.js | Open source HTML5 Charts for your website
8 Chart types Visualize your data in 8 different ways; each of them animated and customisable.
Getting Started - Chart.js
Oct 13, 2025 · You should get a chart like this: Let's break this code down. First, we need to have a canvas in our page. It's recommended to give the chart its own container for responsiveness.
Chart.js
Oct 13, 2025 · Chart.js provides a set of frequently used chart types, plugins, and customization options. In addition to a reasonable set of built-in chart types, you can use additional …
Chart.js Samples
Oct 13, 2025 · To implement such actions yourself you can make some buttons and add onClick event listeners to them. Then in these event listeners you can call your variable in which you …
Step-by-step guide | Chart.js
Oct 13, 2025 · Feel free to review many examples of charts in the documentation and check the awesome list of Chart.js plugins and additional chart types as well as framework integrations …
Line Chart | Chart.js
Oct 13, 2025 · Line charts can be configured into stacked area charts by changing the settings on the y-axis to enable stacking. Stacked area charts can be used to show how one data trend is …
Bar Chart | Chart.js
Oct 13, 2025 · Bar charts can be configured into stacked bar charts by changing the settings on the X and Y axes to enable stacking. Stacked bar charts can be used to show how one data …
Using from Node.js | Chart.js
Oct 13, 2025 · Using from Node.js You can use Chart.js in Node.js for server-side generation of plots with help from an NPM package such as node-canvas or skia-canvas. Sample usage:
Installation - Chart.js
Oct 13, 2025 · If you download or clone the repository, you must build Chart.js to generate the dist files. Chart.js no longer comes with prebuilt release versions, so an alternative option to …
Integration - Chart.js
Oct 13, 2025 · The examples below show how to load Chart.js in different systems. If you're using a front-end framework (e.g., React, Angular, or Vue), please see available integrations.