I am wondering how to draw a venn diagram with language. What is a preferred and well supported way of doing that in Julia language? I would be happy if there was some example code that would work out of the box. I have no previous experience from Julia language.
Julia is a general purpose programming language. While there are libraries for generating graphics output, most of the plotting libraries are geared towards plotting data, not making illustrations. General purpose software like Inkscape or a LaTeX library like TikZ may serve your purposes better.
That said, Luxor.jl may be useful:
Drawing(400, 400, "/tmp/venn_diagram.svg")
O = Point(200, 200)
R = 80
A = 0.9*R
for (i, color) in enumerate(["red", "green", "blue"])
α = ((i-1)*2/3+1/2)*π
circle(O + Point(A*cos(α), A*sin(α)), R, :stroke)
so that’s how they made it…