« home

Geometric Bayes Theorem

3blue1brown-inspired interactive visualization of Bayes theorem interpreted geometrically.

p(H|E) = 13%


  • p(H) = probability of hypothesis
  • p(E|H) = probability of evidence given hypothesis
  • p(E|¬H) = probability of evidence given the hypothesis is false
  • p(H|E) = probability of hypothesis given evidence (what we ultimately want to know)

Play around with the code

Open in StackBlitz

Bayes Theorem by Grant Sanderson (3Blue1Brown)