A Chrome extension that modifies the GitHub contribution graph to use a logarithmic color scale.
GitHub's default scaling is often linear or poorly handled when you have significant outliers. If you have 364 days with 5 commits and one "peak" day with 100 commits, the 5-commit days will appear almost empty.
This extension fixes that by ensuring days with similar activity levels share similar colors, even if they aren't near the absolute maximum.
Instead of a linear mapping, we use a logarithmic ratio:
- Count: Number of contributions for a specific day.
- Max: The highest contribution count found in the current graph.
- Level: The resulting color shade (0 to 4).
This maps the counts to levels 1-4 more aggressively at lower ranges and groups high-activity days together, preventing outliers from "washing out" the rest of your graph.
- Download or clone this repository.
- Open Chrome and go to
chrome://extensions. - Enable Developer mode (top right).
- Click Load unpacked and select this project folder.
- Refresh your GitHub profile page.