{"id":166,"date":"2009-06-20T12:30:00","date_gmt":"2009-06-20T10:30:00","guid":{"rendered":"http:\/\/www.theusrus.de\/blog\/?p=166"},"modified":"2011-02-09T20:24:18","modified_gmt":"2011-02-09T18:24:18","slug":"parallel-sets-vs-mosaic-plots-take-i","status":"publish","type":"post","link":"https:\/\/www.theusrus.de\/blog\/parallel-sets-vs-mosaic-plots-take-i\/","title":{"rendered":"Parallel Sets vs. Mosaic Plots (Take I)"},"content":{"rendered":"<p><a href=\"http:\/\/eagereyes.org\/\">Robert<\/a> has released the wonderful <a href=\"http:\/\/eagereyes.org\/blog\/2009\/parallel-sets-released.html\">parallel sets<\/a> tool in version 2. It is JAVA, it is interactive &#8211; so what do we want more! As I spent some time thinking about the display of categorical data and creating tools for their visualization myself, I thought it would be a great idea to compare the parallel sets approach with mosaic plots and variants like fluctuation diagrams and multiple barcharts. I used the parallel sets tool and <a href=\"http:\/\/www.theusRus.de\/Mondrian\">Mondrian<\/a> to create the plots.<\/p>\n<p>Now, when it comes to categorical data, there is no way to get around the<\/p>\n<p><strong>Titanic data<\/strong><\/p>\n<p>The most interesting feature to find in the Titanic data is the &#8220;woman and children first&#8221; policy. One oddity is the very small group of surviving male in 2nd class. This feature is queried in both plots.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Titianic Parallel Sets\" src=\"http:\/\/www.theusRus.de\/Blog-files\/Parsets - Titanic.png\" alt=\"Titianic Parallel Sets\" width=\"616\" height=\"571\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Mosaic Titanic\" src=\"http:\/\/www.theusRus.de\/Blog-files\/Mosaic - Titanic.png\" alt=\"Mosaic Titanic\" width=\"586\" height=\"449\" \/><\/p>\n<p>In both plots we see that there is something wrong with the size of the group of surviving 2nd class males. The policy\u00a0&#8220;woman and children first&#8221; though, I find hard to see in the parallel sets &#8211; this might be a problem of a better ordering of the axes in the parallel sets view.<\/p>\n<p><strong><br \/>\nDetergent Data<\/strong><\/p>\n<p>One strength of mosaic plots is to show the degree of an association. The detergent data is a very good example to illustrate this. Let&#8217;s see how the two visualizations compare:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Parsets Detergent\" src=\"http:\/\/www.theusRus.de\/Blog-files\/Parsets - Detergent.png\" alt=\"Parsets Detergent\" width=\"615\" height=\"573\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Mosaic Detergent\" src=\"http:\/\/www.theusRus.de\/Blog-files\/Mosaic - Detergent.png\" alt=\"Mosaic Detergent\" width=\"583\" height=\"489\" \/><\/p>\n<p>Whereas the stronger association between &#8220;Preference&#8221; and &#8220;M-User&#8221; is fairly obvious towards harder water and higher temperatures in the mosaic plot, I just see a (nice) regular pattern in the parallel sets.<\/p>\n<p><strong><br \/>\nCensus Data<\/strong><\/p>\n<p>We finally want to look at a type of data where I know that mosaic plots usually have a hard time to deliver decent results and it is usually better to use multiple barcharts or fluctuation diagrams instead<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Parsets Census\" src=\"http:\/\/www.theusRus.de\/Blog-files\/Parsets - Families.png\" alt=\"Parsets Census\" width=\"581\" height=\"568\" \/><\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"Mosaic Census\" src=\"http:\/\/www.theusRus.de\/Blog-files\/Mosaic - Families.png\" alt=\"Moasic Census\" width=\"528\" height=\"565\" \/><\/p>\n<p>I left out the standard mosaic plot altogether as it fails completely to give any information that can be interpreted. Censored zooming is incredible useful here.<\/p>\n<p>I don&#8217;t want to summarize by now as I still need to learn more about parallel sets (which, btw are the same what <a href=\"http:\/\/www.schonlau.net\/\">Matt<\/a> called <a href=\"http:\/\/www.schonlau.net\/publication\/03jsm_hammockplot.pdf\">hammock plots<\/a> before).<\/p>\n<p>Looking forward to your comments &#8211; which will hopefully lead to take II.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Robert has released the wonderful parallel sets tool in version 2. It is JAVA, it is interactive &#8211; so what do we want more! As I spent some time thinking about the display of categorical data and creating tools for their visualization myself, I thought it would be a great idea to compare the parallel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,15,6],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-general","category-mondrian","category-tools"],"_links":{"self":[{"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":10,"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":1006,"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions\/1006"}],"wp:attachment":[{"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.theusrus.de\/blog\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}