chartjs-chart-treemap
Version:
Chart.js module for creating treemap charts
39 lines (26 loc) • 1.8 kB
Markdown
# chartjs-chart-treemap
[Chart.js](https://www.chartjs.org/) **v3.8+, v4+** module for creating treemap charts. Implementation for Chart.js v2 is in [2.x branch](https://github.com/kurkle/chartjs-chart-treemap/tree/2.x)
[](https://www.npmjs.com/package/chartjs-chart-treemap)
[](https://github.com/kurkle/chartjs-chart-treemap/releases/latest)


[](https://sonarcloud.io/summary/new_code?id=kurkle_chartjs-chart-treemap)
[](https://chartjs-chart-treemap.pages.dev)

## Documentation
You can find documentation for chartjs-chart-treemap at [https://chartjs-chart-treemap.pages.dev/](https://chartjs-chart-treemap.pages.dev/).
## Development
You first need to install node dependencies (requires [Node.js](https://nodejs.org/)):
```bash
> npm install
```
The following commands will then be available from the repository root:
```bash
> npm run build // build dist files
> npm run dev // build and watch for changes
> npm test // run all tests
> npm run lint // perform code linting
> npm package // create an archive with dist files and samples
```
## License
chartjs-chart-treemap is available under the [MIT license](https://opensource.org/licenses/MIT).