# Getting Started

Chart.js (opens new window) v3+, v4+ extension for creating matrix charts.

matrix Example Image

# Installation

# npm

npm (opens new window) npm downloads (opens new window)

> npm install chartjs-chart-matrix

# CDN

jsdelivr (opens new window) jsdelivr hits (opens new window)

By default, https://cdn.jsdelivr.net/npm/chartjs-chart-matrix returns the latest (minified) version, however it's highly recommended (opens new window) to always specify a version in order to avoid breaking changes. This can be achieved by appending @{version} to the url:

https://cdn.jsdelivr.net/npm/chartjs-chart-matrix@2.0.1    // exact version
https://cdn.jsdelivr.net/npm/chartjs-chart-matrix@2        // latest 2.x.x

Read more about jsDeliver versioning on their website (opens new window).

TIP

Note: For Chart.js v2 support, see 2.x branch (opens new window)

Last Updated: 11/18/2024, 4:11:15 PM