{"id":4738,"date":"2020-01-24T19:17:22","date_gmt":"2020-01-24T19:17:22","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=4738"},"modified":"2024-08-15T09:33:25","modified_gmt":"2024-08-15T09:33:25","slug":"sankey-diagrams","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/sankey-diagrams\/","title":{"rendered":"Sankey diagrams"},"content":{"rendered":"\n<p>Post election, I wanted to make some <a title=\"Sankey diagrams are a type of flow diagram in which the width of the arrows is proportional to the flow rate\" href=\"https:\/\/en.wikipedia.org\/wiki\/Sankey_diagram\">sankey diagrams<\/a>. My usual data visualisation tools are Excel or Libre Calc and I don&#8217;t think they include this charting option, but I want to do it. Here are my unfinished notes &#8230; <\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\">2024<\/h3>\n\n\n\n<p>So I decided to have another go. Microsoft and Libre Office still don&#8217;t do it, so I had a look at what was there, preferring Excel because I am better with it. I found this <a href=\"https:\/\/mychartguide.com\/how-to-draw-sankey-diagram-in-excel\/\">article <\/a>from Chartguide which points at <a href=\"https:\/\/www.powerusersoftwares.com\/\">poweruser.com<\/a> which is not free. For my source collections, see <a href=\"https:\/\/davelevy.info\/wiki\/where-did-the-votes-come-from\/\">Where did the votes come from?<\/a> on this wiki.<\/p>\n\n\n\n<p>I then looked at Tableau, they offer a free use, if you publish your charts. <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.tableau.com\/\">https:\/\/www.tableau.com\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.tableau.com\/en-gb\/products\/desktop\">https:\/\/www.tableau.com\/en-gb\/products\/desktop<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.tableau.com\/en-gb\/community\/public \">https:\/\/www.tableau.com\/en-gb\/community\/public<\/a> and <a href=\"https:\/\/public.tableau.com\/app\/discover\">https:\/\/public.tableau.com\/app\/discover<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/community.tableau.com\/s\/news\/a0A8b00002JfXZcEAN\/how-to-build-a-sankey-chart-in-tableau\">How to build a sankey chart in tableau<\/a> at tableau\/community, which points at <a href=\"https:\/\/www.flerlagetwins.com\/2018\/04\/sankey-template.html\"> Tableau Chart Templates Part 1: Sankeys**<\/a> &#x2b50; by the Flerlage twins, and which I am currently working on. It helped me make <a href=\"https:\/\/public.tableau.com\/app\/profile\/dave.levy\/viz\/sales_sankey_dfl_2024\/Dashboard1\">this<\/a>, which could be better; I used their <a href=\"https:\/\/public.tableau.com\/app\/learn\/sample-data\">sales sample data which is on this page<\/a>. The scale of the indexes is wrong, the hover is displaying too much. <\/li>\n\n\n\n<li>and How to <a href=\"https:\/\/www.theinformationlab.co.uk\/community\/blog\/build-sankey-diagram-tableau-without-data-prep-beforehand\/\">build sankey diagram in tableau without data prep<\/a> from the Information Lab which I have not yet read<\/li>\n\n\n\n<li><a href=\"https:\/\/www.thedataschool.co.uk\/alfred-chan\/how-to-build-a-sankey-chart-in-tableau\/\">How to build a sankey chart in tableau<\/a> by Alfred Chan at the data school; really? this is hard! I <em>used thi<\/em>s but may give up on Tableau.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">2020<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.google.com\/search?client=ubuntu&amp;channel=fs&amp;q=how+to+make+a+sankey+diagram+in+excel&amp;ie=utf-8&amp;oe=utf-8\">How to make a sankey diagram in excel<\/a>, by google<\/li>\n\n\n\n<li>Here&#8217;s <a href=\"http:\/\/www.sankey-diagrams.com\/excelling-in-excel\/\">an article on using Excel &amp; VBA<\/a>.<\/li>\n\n\n\n<li>A <a title=\"The Sankey Diagram Generator\" href=\"http:\/\/sankey-diagram-generator.acquireprocure.com\/\">cloud based generator,<\/a> needs investigating,<\/li>\n\n\n\n<li>as does this one, <a title=\"A Sankey diagram builder for everyone\" href=\"http:\/\/sankeymatic.com\/\">http:\/\/sankeymatic.com\/<\/a><\/li>\n\n\n\n<li>A <a href=\"https:\/\/powerbi.microsoft.com\/en-us\/blog\/visual-awesomeness-unlocked-sankey-diagram\/\">blog article on Microsoft&#8217;s Power BI blog<\/a> about Sankey diagrams (I have done this twice before).<\/li>\n\n\n\n<li>And <a href=\"https:\/\/www.google.com\/search?client=ubuntu&amp;hs=wXw&amp;channel=fs&amp;sxsrf=ACYBGNS2tmOJmdAYkcDK8xIY5asH3YzNjg%3A1579373743489&amp;ei=r1QjXqvAHcmegQbQi7voBQ&amp;q=how+to+make+a+sankey+diagram+in+libreoffice&amp;oq=how+to+make+a+sankey+diagram+in+libreoffice&amp;gs_l=psy-ab.3...516366285.516370295..516371193...0.7..0.192.1156.7j4......0....1..gws-wiz.......0i71j33i22i29i30j33i160.hYQ6CsRPYjA&amp;ved=0ahUKEwjr08rX6Y3nAhVJT8AKHdDFDl0Q4dUDCAo&amp;uact=5\">what google suggests foe Libre Office<\/a>.<\/li>\n\n\n\n<li>Here&#8217;s <a href=\"http:\/\/www.sankey-diagrams.com\/sankey-diagram-software\/\">a list<\/a> at a site called Sankey Diagrams.<\/li>\n\n\n\n<li>And it seems, <a href=\"https:\/\/www.theinformationlab.co.uk\/2018\/03\/09\/build-sankey-diagram-tableau-without-data-prep-beforehand\/\">there&#8217;s always Tableau.<\/a><\/li>\n<\/ol>\n\n\n\n<p>Quite a few articles point at &#8220;R&#8221;.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/powerbi.microsoft.com\/en-us\/\">Microsoft answer is Power BI<\/a>,- here&#8217;s their <a href=\"https:\/\/docs.microsoft.com\/en-us\/power-bi\/service-get-started\">Getting Started<\/a> page, and is it free? This page suggests it might be &#8230; but then you may have to deal with a new DML.<\/p>\n\n\n\n<p><strong>Featured Image<\/strong>:&nbsp;from <a href=\"https:\/\/web.archive.org\/web\/20220118104100\/https:\/\/datascience-enthusiast.com\/Tableau\/sankey_diagrams.html\">datascience-enthusiast.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post election, I wanted to make some sankey diagrams. My usual data visualisation tools are Excel or Libre Calc and I don&#8217;t think they include this charting option, but I want to do it. Here are my unfinished notes &#8230;<\/p>\n","protected":false},"author":1,"featured_media":4740,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[27,3],"tags":[1037,1391,911],"class_list":["post-4738","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-technology","tag-data-visualisation","tag-sankey-diagrams","tag-technology"],"share_on_mastodon":{"url":"https:\/\/mastodon.social\/@davelevy_eu\/112825033132824410","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2020\/01\/sankey.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/4738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=4738"}],"version-history":[{"count":9,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/4738\/revisions"}],"predecessor-version":[{"id":11308,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/4738\/revisions\/11308"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/4740"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=4738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=4738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=4738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}