I can’t say I find this so obvious to read. Also, if I understand correctly, the checkerboard diagrams require several records of concrete sample data to show how the join works, whereas Venn diagrams are more abstract; they show at a glance the overlap between table names.
I much prefer simple visualizations. This one is busy and has many distracting details: the unnecessary right angle connections and angled presentation, the light gray graph lines within the connections, the color circles at the right angles – there are either better alternatives for these or they can be dropped. Honestly I would prefer the following plain text explanation:
This is a pretty well thought out visualization, I was looking for something like this! Seems that the original idea comes from Hadley Wickham: https://r4ds.had.co.nz/relational-data.html — he
seems to have a knack to produce well-understandable tools and visualizations.
I think the Venn diagrams are fine for when you already know how joins work and you just need to refresh your mind on which specific one you need. I don’t know how good they are for learning. The thing that helped me get comfortable with joins was understanding unification in Prolog/Datalog, though knowing that also makes me wish I could query the databases using those languages instead of SQL…
I can’t say I find this so obvious to read. Also, if I understand correctly, the checkerboard diagrams require several records of concrete sample data to show how the join works, whereas Venn diagrams are more abstract; they show at a glance the overlap between table names.
I much prefer simple visualizations. This one is busy and has many distracting details: the unnecessary right angle connections and angled presentation, the light gray graph lines within the connections, the color circles at the right angles – there are either better alternatives for these or they can be dropped. Honestly I would prefer the following plain text explanation:
How would you do a plain text cross join? In particular, how would you “draw” the connections?
I think this one is conceptually very simple, since it’s just the Cartesian product. Something like this looks good to me:
This is a pretty well thought out visualization, I was looking for something like this! Seems that the original idea comes from Hadley Wickham: https://r4ds.had.co.nz/relational-data.html — he seems to have a knack to produce well-understandable tools and visualizations.
I think the Venn diagrams are fine for when you already know how joins work and you just need to refresh your mind on which specific one you need. I don’t know how good they are for learning. The thing that helped me get comfortable with joins was understanding unification in Prolog/Datalog, though knowing that also makes me wish I could query the databases using those languages instead of SQL…