{"id":348,"date":"2009-01-16T20:41:13","date_gmt":"2009-01-16T20:41:13","guid":{"rendered":"https:\/\/blogs.mathworks.com\/videos\/2009\/01\/16\/flow-chart-shows-which-visualization-to-use\/"},"modified":"2009-01-19T17:49:53","modified_gmt":"2009-01-19T17:49:53","slug":"flow-chart-shows-which-visualization-to-use","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/videos\/2009\/01\/16\/flow-chart-shows-which-visualization-to-use\/","title":{"rendered":"Flow chart shows which visualization to use"},"content":{"rendered":"<p>Nathan over at <a href=\"http:\/\/www.flowingData.com\">FlowingData.com<\/a> had a post that explains <a href=\"http:\/\/flowingdata.com\/2009\/01\/15\/flow-chart-shows-you-what-chart-to-use\/\">what visualization to use in different situations<\/a>.  Ultimately he linked to this chart from Andrew Abela of <a href=\"http:\/\/extremepresentation.typepad.com\/blog\/2006\/09\/choosing_a_good.html\">The Extreme Presentation(tm) Method<br \/>\n<\/a><\/p>\n<p><a href=\"http:\/\/extremepresentation.typepad.com\/files\/choosing-a-good-chart-09.pdf\">Click for original version<\/a><br \/>\nThe version displayed below was modified with permission of Andrew.<\/p>\n<p><a href='https:\/\/blogs.mathworks.com\/videos\/..\/images\/videos\/2009\/01\/flowchartmod.jpg' title='MATLAB flowchart'><img src='https:\/\/blogs.mathworks.com\/videos\/..\/images\/videos\/2009\/01\/flowchartmod.jpg' alt='MATLAB flowchart' \/><\/a><br \/>\nLooking at this, I wondered if I could make all of those visualizations in MATLAB.  The answer was yes, with a little help from MATLAB Central.<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/images\/videos\/2009\/FlowChart.zip\">Download this .zip <\/a> and run main.m to see MATLAB create all those charts with simple data.  <\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/9118-vwhist\">vWhist<\/a><br \/>\n<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/21313-spider--radar--chart\">Spider<\/a><br \/>\n<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/22703-waterfall-chart\">WaterfallChart<\/a><br \/>\n<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/8422-2-dimensional-histogram\">Histo2D<\/a><\/p>\n<p>are <a href=\"https:\/\/blogs.mathworks.com\/images\/videos\/2009\/FlowChart.zip\">included in the zip for convenience.<\/a><\/p>\n<p>Many of these visualizations had dedicated functions to do that exact plot, some required some data massaging (like the &#8220;100% stacked bar plots&#8221; that normalized each stacked bar series to have the same sum) and some required the addition of some lines (like the connected bar charts).<\/p>\n<p>This was a fun exercise in reproducing all these plots in MATLAB.  Do you have some favorite plots that are not shown here?  Do you want to make some dedicated functions to create those various bar charts that needed the most fiddling with?  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nathan over at FlowingData.com had a post that explains what visualization to use in different situations.  Ultimately he linked to this chart from Andrew Abela of The Extreme Presentation(tm)&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/videos\/2009\/01\/16\/flow-chart-shows-which-visualization-to-use\/\">read more >><\/a><\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/348"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/comments?post=348"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/348\/revisions"}],"predecessor-version":[{"id":708,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/348\/revisions\/708"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/media?parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/categories?post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/tags?post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}