Brill–Noether theory is dedicated to studying linear series on algebraic curves. I won't explain anything about it, but as I was reading up a bit on it in chapter V of the classic textbook Geometry of algebraic curves, by Arbarello–Cornalba–Griffiths–Harris, I noticed they had some pretty pictures, but they only gave the general idea, not actual examples where the Brill–Noether number is included on the graph. Which made my TikZ itch rear its head, so I quickly scratched it.

Without further explanation, here is the quick visualisation of the Brill–Noether numbers $\rho(g,d,r)=g-(r+1)(g-d+r)$ for $g=4$ and $g=10$. Below you find the TikZ code for arbitrary genus. Changing the value in \def\g{10} is enough to get a different picture.

If you came here for pictures of the fine looking German gentleman that started Brill–Noether theory: Alexander von Brill and Max Noether. So it should actually be called von Brill–Noether theory, or maybe Noether–von Brill.