kugestu 4 hours ago

Really nice theoretical exercise! For practical visualization, an UpSet plot is a great option: https://upset.app/

vitalnodo 5 hours ago

I’m wondering what’s the proper way to draw Venn diagrams. I’ve seen that Graphviz has a “nice to have” mention about them, and there are a few simple JS libraries - mostly for two sets. Here’s also my own attempt using an LLM [1].

But maybe someone knows a more general or robust solution - or a better way to achieve this? In the future, I’d like to be able, for example, to find the intersection between two Venn diagrams of three sets each etc.

[1] https://vitalnodo.github.io/FSLE/

  • zem 5 hours ago

    the comments here https://news.ycombinator.com/item?id=45742907 have some discussion about projects that take a "focused algorithm for various different diagram types" approach vs graphviz's one size fits all approach. worth checking to see if any of them do venn diagrams.

cubefox 5 hours ago

The website isn't working for me (Android Firefox/Chrome).

  • akdor1154 5 hours ago

    Nor Firefox Android, even in Desktop mode.

  • JoBrad 3 hours ago

    Same for iOS.

keeeba 4 hours ago

Please don’t actually use these 5,6,7-way Venn diagrams for anything practical, they’re virtually useless and communicate nothing.

  • roadside_picnic 3 hours ago

    Technically a Venn diagram's entire point is to visualize all possible set relations between N sets. Their "practical" use is explicitly visualizing this.

    In popular terminology they are very often confused with Euler Diagrams [0] which represent meaningful relations in sets but not all possible. You shouldn't create Euler Diagrams this complex, but the raison d'etre of Venn diagrams is to visualize the complex nature of set relations.

    0. https://en.wikipedia.org/wiki/Euler_diagram

  • paulddraper 4 hours ago

    Thanks, I was just about to do that!

adverbly 5 hours ago

Beautiful! I want to get this on a t-shirt!

anon291 5 hours ago

Nice! I wonder if there's a mathematical theorem to describe the possible shapes for a 2-d venn diagram of N sets or if there's an N for which it is no longer possible (or maybe it's possible for all N!?). Probably an application of graph theory and Euler's formula to determine feasibility and then something else to figure out the shape constraints. Never thought about it, but an interesting idea.