KL(P ‖ Q)
KL(Q ‖ P)
P
Q — in P’s rank order (P shown as line)
same axes on both — token at rank i sits at the same x in each pane  · 
KL(P ‖ Q) contribution per rank: pᵢ·log₂(pᵢ/qᵢ) — sums to KL(P ‖ Q)
40
ρ = 0.90  
Distribution P
2.2 nats /3.7
Distribution Q
2.2 nats /3.7