# Chart\.js

MIT\-licensed JavaScript charting library that renders common chart types onto HTML canvas\.

ID: Q1293 · Revision: 1341

Type: software · License: MIT[^license] · Status: active

Website: https://www.chartjs.org/



Chart\.js is an open\-source JavaScript library for adding charts to web applications\. It renders into canvas rather than SVG and can be used directly or through framework integrations\. Its built\-in chart types and configuration system provide reusable visualization building blocks, while accessibility, data preparation and application\-specific interactions remain integration work\.[^intro]

## Capabilities and substitutions

### Canvas charts — supported

Built\-in common chart types and mixed\-chart configurations render on canvas\.[^intro]

Use case: Embedding interactive charts in web applications · Platforms: Web browsers, Node\.js with a canvas implementation · Region: Version, build and integration requirements apply

### Tree\-shaken integration — limited

Selective bundles require explicit registration of the controllers, elements, scales and plugins used\.[^integration]

Use case: Embedding interactive charts in web applications · Platforms: Web browsers, Node\.js with a canvas implementation · Region: Version, build and integration requirements apply

### Automatic screen\-reader access to plotted canvas content — unsupported

Authors must supply suitable ARIA naming or fallback content; canvas pixels are not exposed as an accessible data representation\.[^access]

Use case: Embedding interactive charts in web applications · Platforms: Web browsers, Node\.js with a canvas implementation · Region: Version, build and integration requirements apply

### Worker rendering — limited

OffscreenCanvas is supported, but DOM\-dependent plugins/interactions and transferred functions need different handling\.[^performance]

Use case: Embedding interactive charts in web applications · Platforms: Web browsers, Node\.js with a canvas implementation · Region: Version, build and integration requirements apply

### [Substitute for Recharts](/recharts) — limited

Alternative for common application charts when canvas rendering and framework\-neutral integration are preferred to React/SVG composition\. Configuration, sizing and interaction code require rewriting\.[^intro][^integration][^recharts]

Use case: Embedding interactive charts in web applications · Platforms: Web browsers, Node\.js with a canvas implementation · Region: Version, build and integration requirements apply

## References

[^intro]: [Chart\.js documentation overview](<https://www.chartjs.org/docs/latest/>) — Canvas rendering, chart types, integration and customization (vendor; retrieved 2026-10-07T22:44:56Z)

[^license]: [Chart\.js license](<https://github.com/chartjs/Chart.js/blob/master/LICENSE.md>) — MIT license (vendor; retrieved 2026-10-07T22:45:24Z)

[^integration]: [Chart\.js integration](<https://www.chartjs.org/docs/latest/getting-started/integration.html>) — Auto import, explicit registration, ESM and date adapters (vendor; retrieved 2026-10-07T22:45:10Z)

[^access]: [Chart\.js accessibility](<https://www.chartjs.org/docs/latest/general/accessibility.html>) — Canvas contents and author\-supplied accessible alternatives (vendor; retrieved 2026-10-07T22:45:10Z)

[^performance]: [Chart\.js performance](<https://www.chartjs.org/docs/latest/general/performance.html>) — Data preparation, decimation and worker constraints (vendor; retrieved 2026-10-07T22:45:10Z)

[^size]: [Chart\.js responsive charts](<https://www.chartjs.org/docs/latest/configuration/responsive.html>) — Container sizing, aspect ratio and printing limitations (vendor; retrieved 2026-10-07T22:45:24Z)

[^node]: [Chart\.js with Node\.js](<https://www.chartjs.org/docs/latest/getting-started/using-from-node-js.html>) — Additional canvas dependency and static plot generation (vendor; retrieved 2026-10-07T22:45:24Z)

[^recharts]: [Recharts homepage](<https://recharts.github.io/en-US/>) — React composition and SVG rendering (vendor; retrieved 2026-10-07T22:45:10Z)

Source revision: https://substitutefor.net/entities/Q1293?revision=1341
