# chartjs/Chart.js SLOC report

> As of 2026-08-26 (commit cb02e1d207bd), chartjs/Chart.js contains 42,350 total lines: 31,657 code, 5,415 comments, 5,278 blank, across 113 files in 7 languages (top: YAML 48.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving chartjs/Chart.js to commit cb02e1d207bd, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 74.8% of all lines, comments represent 12.8%, and the repository averages 280 code lines per file. YAML accounts for 48.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 2 | 17,246 | 15,246 | 0 | 2,000 |
| JavaScript | 63 | 16,382 | 11,366 | 2,758 | 2,258 |
| TypeScript | 35 | 8,260 | 4,711 | 2,587 | 962 |
| JSON | 5 | 241 | 241 | 0 | 0 |
| Shell | 4 | 116 | 76 | 14 | 26 |
| HTML | 1 | 24 | 17 | 0 | 7 |
| Markdown | 3 | 81 | 0 | 56 | 25 |

Top language (YAML 48.2%). Generated at 2026-08-26T18:15:17.311552080+00:00. Canonical report: https://octocounts.com/github/chartjs/Chart.js

## Report FAQ

### How many lines of code does chartjs/Chart.js have?

chartjs/Chart.js has 42,350 total lines, including 31,657 code lines, 5,415 comment lines, and 5,278 blank lines.

### How was the chartjs/Chart.js line count measured?

OctoCounts resolved the public GitHub repository to commit cb02e1d207bd, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for chartjs/Chart.js?

This OctoCounts report was generated from master at commit cb02e1d207bd on 2026-08-26T18:15:17.311552080+00:00.

## Similar repository reports

- [FQO3/sdg6_cup_client](https://octocounts.com/github/FQO3/sdg6_cup_client) — YAML, 34,771 code lines
- [awesome-dsh-plugin/awesome-dsh-plugin](https://octocounts.com/github/awesome-dsh-plugin/awesome-dsh-plugin) — YAML, 25,572 code lines
- [discourse/discourse-chat-integration](https://octocounts.com/github/discourse/discourse-chat-integration) — YAML, 24,018 code lines
- [datawhalechina/vibe-vibe](https://octocounts.com/github/datawhalechina/vibe-vibe) — YAML, 22,772 code lines
- [frt321for/iot-coldchain](https://octocounts.com/github/frt321for/iot-coldchain) — YAML, 22,343 code lines
- [frt321for/SmartFarm](https://octocounts.com/github/frt321for/SmartFarm) — YAML, 22,125 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
