Bar Graph

AnkiWeb addon 1487842475

Displays recent Anki review activity as a cached, customizable bar graph directly on the Decks screen, with configurable date ranges, optional daily goal line, and hover details.
AI-generated summary; may contain mistakes.

statisticsprogress-tracking

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
1 (πŸ‘ 1 Β· πŸ‘Ž 0)
Updated
2025-12-16
Anki versions
25.01~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2025-12-16 (320 days before the snapshot).
  • GitHub Actions workflows: 2.
  • Commits in the last year: 24.
  • Issues: 0 open, 2 closed.
  • Pull requests: 0 open, 3 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.01+2025-12-16
History across monthly snapshots

Loading…

Similar addons

πŸ“ΆAccumulated Retention Graph (FSRS ETK)

Displays a stacked bar graph of card states over time, color-coded by interval, with an FSRS-based estimated total knowledge retention line and main-screen integration.

fsrsstatistics

21 votes 77% approval πŸ‘ 20 Β· πŸ‘Ž 1 ⭐ 3 Anki 25.06~ Updated 2025-07-01

Description



Ever wondered how much you actually studied recently?

See your last 30 days of Anki reviews as a clean bar graph β€” right on the Decks screen.
No Statistics window. Just instant feedback every time you open Anki.

Key features

β€’ 30-day review history on the Decks screen
β€’ Optional daily goal line and clear visual states (today / goal met)
β€’ Lightweight and cached (designed for large collections)

How to use

Install and restart Anki β€” the graph appears automatically on the Decks screen.

Source code

GitHub: https://github.com/yuwayanagitani/anki-bar-graph

==================================================

Updates

  • v0.2.1 - Multiple time periods supported. And fixed bug. (2025-12-16)
  • v0.2.2 - Color picker added on the config window. (2025-12-16)

==================================================

Supports

This tool is built to support medical students and residents.
Support via thumbing up πŸ‘ on this page and Buy Me a Coffee β˜• motivates me a lot!!


README

Decks screen – last 30 days bar graph


Anki Bar Graph

(Last 30 Days Review Bar Graph for Decks screen)

πŸ”— AnkiWeb
https://ankiweb.net/shared/info/1487842475


What this add-on does

Anki Bar Graph displays your recent review activity as a bar graph directly on the Decks screen.

  • No Statistics window
  • Always visible
  • Immediate feedback when you open Anki

By default, it shows your recent review history, helping you keep track of study momentum at a glance.


Core Features

  • πŸ“Š Bar graph shown directly on the Decks screen
  • πŸ“… Displays review counts for a configurable recent period
  • πŸ”„ Automatically updates after review sessions
  • 🎯 Optional daily goal line
  • πŸ–± Hover to see exact review counts per day
  • πŸͺΆ Lightweight and fast (cached DB access)

πŸ†• Recent Updates (Latest Features)

πŸ“† Configurable date range

You can now choose how many days to display:

  • 7 days
  • 30 days
  • 90 days
  • 180 days
  • 365 days

This supports both short-term habit tracking and long-term trend analysis.


🎨 Full color customization (GUI color picker)

All colors can be configured via a color picker UI (no manual RGBA editing).

Customizable elements include:

  • Past days bars
  • Today’s bar
  • Goal-achieved bars
  • Goal line
  • Background / border colors

🧩 Unified color setting components

All color options use a shared internal RGBA picker row, providing:

  • Consistent UI behavior
  • Easier maintenance
  • Predictable previews across settings

πŸ–± Improved scroll behavior (UX fix)

Mouse wheel / trackpad scrolling is disabled on numeric and combo inputs to prevent:

  • Accidental value changes while scrolling
  • Unintended edits in the settings dialog

Applies to:

  • Spin boxes
  • Combo boxes

⚑ Safer configuration handling

  • Invalid values (e.g. unsupported range days) are auto-corrected
  • Unknown config keys are preserved during updates
  • Reset to defaults reliably restores the original state

Configuration

Open:

Tools β†’ Add-ons β†’ Bar Graph β†’ Config

Available options include:

  • Enable / disable graph
  • Display range (7–365 days)
  • Daily review goal
  • Bar width and spacing
  • Chart height
  • Full RGBA color customization (GUI)

For detailed descriptions, see config.md.


Installation

From AnkiWeb (recommended)

  1. Open Anki
  2. Tools β†’ Add-ons β†’ Get Add-ons
  3. Enter the code from AnkiWeb
  4. Restart Anki

πŸ‘‰ https://ankiweb.net/shared/info/1487842475


Manual (GitHub)

  1. Download or clone this repository

  2. Place it in:

    Anki2/<profile>/addons21/anki-bar-graph/

  3. Restart Anki


Performance Notes

  • Queries only the selected recent range (max 365 days)
  • Results are cached
  • No background timers or polling
  • Negligible impact even on large collections

Compatibility

  • Anki 24.x
  • Anki 25.x
  • Windows / macOS / Linux

License

MIT License


Author

Created by @yuwayanagitani


Notes

  • This add-on does not modify cards, decks, or scheduling
  • The graph is shown only on the Decks screen
  • Deleting config.json will recreate it with default values