{"id":1117,"date":"2016-10-23T18:43:53","date_gmt":"2016-10-24T01:43:53","guid":{"rendered":"http:\/\/miriamposner.com\/classes\/dh101f16\/?page_id=1117"},"modified":"2016-10-23T18:44:49","modified_gmt":"2016-10-24T01:44:49","slug":"make-an-alluvial-diagram","status":"publish","type":"page","link":"http:\/\/miriamposner.com\/classes\/dh101f16\/tutorials-guides\/data-visualization\/make-an-alluvial-diagram\/","title":{"rendered":"Make an alluvial diagram"},"content":{"rendered":"<div id=\"clarify-article-content\">\n<div class=\"clarify-article-description\">\n<p>Hi everyone! I&#8217;m really sorry I can&#8217;t be there today. I have to be at a meeting in Chicago. But I thought you might enjoy learning how to make a new kind of visualization, called an alluvial diagram. (&#8220;Alluvial&#8221; means river, and you&#8217;ll see why it&#8217;s called that.) For our data, we&#8217;ll use the answers you gave to the questionnaire I administered on Wednesday.<\/p>\n<p>This is so easy you hardly need directions! But here they are.<\/p>\n<\/div>\n<div class=\"clarify-steps-container\">\n<div id=\"clarify-step-1\" class=\"clarify-step-container\">\n<h2 class=\"clarify-step-title\">1. Download our dataset<\/h2>\n<div class=\"clarify-step-instructions\">\n<p><a href=\"https:\/\/www.dropbox.com\/s\/r7tp0ewefreakao\/DH101%20questions.csv?dl=0\" target=\"_blank\">Click here<\/a> to download your questionnaire responses from my Dropbox. (If you have trouble with that link for some reason, just enter bit.ly\/dh101qanda into your browser&#8217;s address bar.)<\/p>\n<p>Open it up and take a look. Do you remember what kind of variables these are? They&#8217;re <strong>nominal<\/strong> variables (AKA <strong>categorical<\/strong> variables) because they&#8217;re not in any inherent order and they have no numerical value. Alluvial diagrams are great for nominal data.<\/p>\n<\/div>\n<div class=\"clarify-step-image-wrapper\">\n<div class=\"clarify-step-image-container\"><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/download-our-dataset.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1118\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/download-our-dataset.png\" alt=\"download-our-dataset\" width=\"420\" height=\"323\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/download-our-dataset.png 420w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/download-our-dataset-300x231.png 300w\" sizes=\"auto, (max-width: 420px) 85vw, 420px\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<div id=\"clarify-step-2\" class=\"clarify-step-container\">\n<h2 class=\"clarify-step-title\">2. Open RAW<\/h2>\n<div class=\"clarify-step-instructions\">\n<p>Open up a browser and go to <a href=\"http:\/\/raw.densitydesign.org\/\">raw.densitydesign.org<\/a>. This is a drag-and-drop data-visualization platform that&#8217;s designed to make it easy to create some of the less commonly used kinds of visualizations, like alluvial diagrams. Go ahead and click on <strong>Use it Now<\/strong>.<\/p>\n<\/div>\n<div class=\"clarify-step-image-wrapper\">\n<div class=\"clarify-step-image-container\"><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/open-raw.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1119\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/open-raw.png\" alt=\"open-raw\" width=\"611\" height=\"510\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/open-raw.png 611w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/open-raw-300x250.png 300w\" sizes=\"auto, (max-width: 611px) 85vw, 611px\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<div id=\"clarify-step-3\" class=\"clarify-step-container\">\n<h2 class=\"clarify-step-title\">3. Drag your data into the box<\/h2>\n<div class=\"clarify-step-instructions\">\n<p>First, figure out where you downloaded the file in <strong>Step 1<\/strong>. Then drag it onto the white box. You should then be able to see the data values from the spreadsheet.<\/p>\n<p><strong>Note:<\/strong> Sometimes RAW gets overwhelmed if too many people are using it at once. If file uploading isn&#8217;t working for you, you may have to just look over the shoulder of a friend.<\/p>\n<p><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/drag-your-data-into-the-box.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1120\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/drag-your-data-into-the-box.png\" alt=\"drag-your-data-into-the-box\" width=\"821\" height=\"608\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/drag-your-data-into-the-box.png 821w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/drag-your-data-into-the-box-300x222.png 300w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/drag-your-data-into-the-box-768x569.png 768w\" sizes=\"auto, (max-width: 821px) 85vw, 821px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div id=\"clarify-step-4\" class=\"clarify-step-container\">\n<h2 class=\"clarify-step-title\">4. Select &#8220;Alluvial Diagram&#8221;<\/h2>\n<div class=\"clarify-step-instructions\">\n<p>Scroll down to see the various visualization options. Usually, <strong>Alluvial Diagram<\/strong> is already selected, but if not, click on it. (While you&#8217;re here, check out the other options! They may come in handy later.)<\/p>\n<\/div>\n<div class=\"clarify-step-image-wrapper\">\n<div class=\"clarify-step-image-container\"><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/select-alluvial-diagram-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1121\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/select-alluvial-diagram-.png\" alt=\"select-alluvial-diagram\" width=\"618\" height=\"527\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/select-alluvial-diagram-.png 618w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/select-alluvial-diagram--300x256.png 300w\" sizes=\"auto, (max-width: 618px) 85vw, 618px\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<div id=\"clarify-step-5\" class=\"clarify-step-container\">\n<h2 class=\"clarify-step-title\">5. Choose some dimensions<\/h2>\n<div class=\"clarify-step-instructions\">\n<p>This will make more sense once you&#8217;ve done it. From the left side, grab a green block (anything but <strong>Timestamp <\/strong>and <strong>Your first name<\/strong>) and drag it into the box labeled <strong>Steps<\/strong>. Do that with at least one other block.<\/p>\n<p><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/choose-some-dimensions.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1122\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/choose-some-dimensions.png\" alt=\"choose-some-dimensions\" width=\"790\" height=\"517\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/choose-some-dimensions.png 790w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/choose-some-dimensions-300x196.png 300w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/choose-some-dimensions-768x503.png 768w\" sizes=\"auto, (max-width: 790px) 85vw, 790px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div id=\"clarify-step-6\" class=\"clarify-step-container\">\n<h2 class=\"clarify-step-title\">6. Expand the width of your visualization<\/h2>\n<div class=\"clarify-step-instructions\">\n<p>Scroll down until you see the <strong>Customize your Visualization<\/strong> subhead. Under the <strong>Width<\/strong> heading, enter 500. (This means 500 pixels, which is pretty big.)<\/p>\n<p><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/expand-the-width-of-your-visualization.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1123\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/expand-the-width-of-your-visualization.png\" alt=\"expand-the-width-of-your-visualization\" width=\"451\" height=\"447\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/expand-the-width-of-your-visualization.png 451w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/expand-the-width-of-your-visualization-150x150.png 150w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/expand-the-width-of-your-visualization-300x297.png 300w\" sizes=\"auto, (max-width: 451px) 85vw, 451px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div id=\"clarify-step-7\" class=\"clarify-step-container\">\n<h2 class=\"clarify-step-title\">7. Admire your work<\/h2>\n<div class=\"clarify-step-instructions\">\n<p>Scroll down to see the visualization! Innnnteresting. There seems to be a correlation between Dr. Seuss and Beyonc\u00e9&#8230;<\/p>\n<p>Try scrolling up and experimenting with adding more or different dimensions, and see what happens! Try other visualization types, too!<\/p>\n<p><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/admire-your-work.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1124\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/admire-your-work.png\" alt=\"admire-your-work\" width=\"583\" height=\"549\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/admire-your-work.png 583w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/admire-your-work-300x283.png 300w\" sizes=\"auto, (max-width: 583px) 85vw, 583px\" \/><\/a><\/p>\n<h2 class=\"clarify-step-title\">8.\u00a0Bonus: Embed your visualization<\/h2>\n<p class=\"p1\">If, later on, you decide you want to embed a RAW visualization on a website, you can just grab the HTML code at the bottom of the page. (Or you can download an image.)<\/p>\n<p class=\"p1\"><a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/bonus-embed-your-visualization.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1125\" src=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/bonus-embed-your-visualization.png\" alt=\"bonus-embed-your-visualization\" width=\"1002\" height=\"427\" srcset=\"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/bonus-embed-your-visualization.png 1002w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/bonus-embed-your-visualization-300x128.png 300w, http:\/\/miriamposner.com\/classes\/dh101f16\/wp-content\/uploads\/sites\/5\/2016\/10\/bonus-embed-your-visualization-768x327.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone! I&#8217;m really sorry I can&#8217;t be there today. I have to be at a meeting in Chicago. But I thought you might enjoy learning how to make a &hellip; <a href=\"http:\/\/miriamposner.com\/classes\/dh101f16\/tutorials-guides\/data-visualization\/make-an-alluvial-diagram\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Make an alluvial diagram&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":92,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_eb_attr":"","footnotes":""},"class_list":["post-1117","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/pages\/1117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/comments?post=1117"}],"version-history":[{"count":0,"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/pages\/1117\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/pages\/92"}],"wp:attachment":[{"href":"http:\/\/miriamposner.com\/classes\/dh101f16\/wp-json\/wp\/v2\/media?parent=1117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}