# Getting Started
Chart.js (opens new window) v3+, v4+ extension for creating matrix charts.
# Installation
# npm
(opens new window) (opens new window)
> npm install chartjs-chart-matrix
# CDN
(opens new window) (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)