{"id":13701883,"url":"https://github.com/kurkle/chartjs-chart-matrix","last_synced_at":"2025-04-14T20:48:02.231Z","repository":{"id":34867299,"uuid":"185455384","full_name":"kurkle/chartjs-chart-matrix","owner":"kurkle","description":"Chart.js module for creating matrix charts","archived":false,"fork":false,"pushed_at":"2024-10-14T16:22:45.000Z","size":2941,"stargazers_count":212,"open_issues_count":5,"forks_count":18,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-20T17:05:55.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kurkle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-07T18:15:02.000Z","updated_at":"2024-10-20T07:01:01.000Z","dependencies_parsed_at":"2023-10-17T01:58:32.437Z","dependency_job_id":"ef15484f-16ed-49d3-a6a7-b610304357fc","html_url":"https://github.com/kurkle/chartjs-chart-matrix","commit_stats":{"total_commits":145,"total_committers":3,"mean_commits":"48.333333333333336","dds":"0.37241379310344824","last_synced_commit":"8ca5941fa336a2d6436ab22503aba920ae180c6b"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurkle%2Fchartjs-chart-matrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurkle%2Fchartjs-chart-matrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurkle%2Fchartjs-chart-matrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurkle%2Fchartjs-chart-matrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kurkle","download_url":"https://codeload.github.com/kurkle/chartjs-chart-matrix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248960746,"owners_count":21189988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T21:00:26.417Z","updated_at":"2025-04-14T20:48:02.197Z","avatar_url":"https://github.com/kurkle.png","language":"JavaScript","funding_links":[],"categories":["Charts"],"sub_categories":[],"readme":"# chartjs-chart-matrix\n\n[Chart.js](https://www.chartjs.org/) **v3+, v4+** module for creating matrix charts\n\n[![npm](https://img.shields.io/npm/v/chartjs-chart-matrix.svg)](https://www.npmjs.com/package/chartjs-chart-matrix)\n[![release](https://img.shields.io/github/release/kurkle/chartjs-chart-matrix.svg?style=flat-square)](https://github.com/kurkle/chartjs-chart-matrix/releases/latest)\n![npm bundle size](https://img.shields.io/bundlephobia/min/chartjs-chart-matrix.svg)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kurkle_chartjs-chart-matrix\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=kurkle_chartjs-chart-matrix)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=kurkle_chartjs-chart-matrix\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=kurkle_chartjs-chart-matrix)\n[![documentation](https://img.shields.io/static/v1?message=Documentation\u0026color=informational)](https://chartjs-chart-matrix.pages.dev)\n![GitHub](https://img.shields.io/github/license/kurkle/chartjs-chart-matrix.svg)\n\n## Example\n\n![Matrix Example Image](matrix.png)\n\n## Documentation\n\nYou can find documentation for chartjs-chart-matrix at [https://chartjs-chart-matrix.pages.dev/](https://chartjs-chart-matrix.pages.dev/).\n\n## Quickstart\n\n```html\n\u003chtml\u003e\n\u003chead\u003e\n  \u003cscript src=\"https://cdn.jsdelivr.net/npm/chart.js@3.7\"\u003e\u003c/script\u003e\n  \u003cscript src=\"https://cdn.jsdelivr.net/npm/chartjs-chart-matrix@1.1\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cdiv class=\"chart-container\"\u003e\n    \u003ccanvas id=\"matrix-chart\"\u003e\n  \u003c/div\u003e\n  \u003cscript\u003e\n    const chart = new Chart('matrix-chart', {\n      type: 'matrix',\n      data: {\n        datasets: [{\n          label: 'Basic matrix',\n          data: [{x: 1, y: 1}, {x: 2, y: 1}, {x: 1, y: 2}, {x: 2, y: 2}],\n          borderWidth: 1,\n          borderColor: 'rgba(0,0,0,0.5)',\n          backgroundColor: 'rgba(200,200,0,0.3)',\n          width: ({chart}) =\u003e (chart.chartArea || {}).width / 2 - 1,\n          height: ({chart}) =\u003e (chart.chartArea || {}).height / 2 - 1,\n        }],\n      },\n      options: {\n        scales: {\n          x: {\n            display: false,\n            min: 0.5,\n            max: 2.5,\n            offset: false\n          },\n          y: {\n            display: false,\n            min: 0.5,\n            max: 2.5\n          }\n        }\n      }\n    });\n  \u003c/script\u003e\n\u003c/body\u003e\n```\n\nThis simple example is also available online in the documentation: https://chartjs-chart-matrix.pages.dev/usage.html\n\n## Development\n\nYou first need to install node dependencies  (requires [Node.js](https://nodejs.org/)):\n\n```bash\n\u003e npm install\n```\n\nThe following commands will then be available from the repository root:\n\n```bash\n\u003e npm run build        // build dist files\n\u003e npm test             // run all tests\n\u003e npm run lint         // perform code linting\n\u003e npm package          // create an archive with dist files and samples\n```\n\n## License\n\nchartjs-chart-matrix is available under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurkle%2Fchartjs-chart-matrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkurkle%2Fchartjs-chart-matrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurkle%2Fchartjs-chart-matrix/lists"}