Yuri Vishnevsky

Scribble No. 1

Drawing Venn Diagrams

Sometimes you want to draw an area proportional venn diagram, where the overlap between two circles accurately represents the overlap between two sets.

To do so, you need to know how far apart the circles should be. It turns out this distance doesn’t have a closed form solution, but you can define a function from distance → overlap and find it via bisection search.

See the code »