Existing Add‐Ons That Create Custom Figures - ghrgriner/anki-stats GitHub Wiki

We have not elsewhere discussed the fact that there are actually two statistics windows available in Anki: (1) the (new) window accessible by pushing the Stats button, and (2) the legacy window accessible by pushing SHIFT + Stats. The default graphs in the legacy window offer fewer figures and less filtering and interaction capabilities than the new window. Figures in the legacy window are created by creating strings that contain HTML and Javascript in Python rather than using Rust and Svelte.

We do not recommend developing figures for the legacy interface, but we mention its existence so that readers will understand what these terms refer to if searching for add-ons on AnkiWeb.

That being said, below are two example add-ons that add custom figures to the new statistics window and the legacy statistics window.

Disclaimer: We did not author these add-ons and we have not inspected their code. As AnkiWeb states: "As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust."

  1. Search Stats Extended: This add-on adds 20 graphs to the (non-legacy) statistics window. This is the only add-on we are aware of that manipulates the new statistics window.
  2. Progress Graphs and Stats for Learned and Matured Cards: This adds two graphs to the legacy statistics window.