I want to prepare the following chart. Say, I have three datasets of different lengths, for example:

A = [c,d,e,g,h,o,m,n,o,x,y,z]
B = [d,e,f,g,h,i,j,k,l]
C = [a,b,c,d,e]

Any dataset might contain items already there in other 2 datasets. Now I want to show the size of each dataset as a circle. More items, bigger circle. But all three circles also overlap each other depending on how much items are common. As demonstrated below.

enter image description here

What this chart is actually called? And what library can I use which might have this kind of chart available?


Thanks to @Peter. It's called Venn Diagram and here's my needed Javascript Library. https://www.benfrederickson.com/venn-diagrams-with-d3.js/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.