<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Network on Visualizing.JP</title>
        <link>https://visualizing.jp/en/tags/network/</link>
        <description>Recent content in Network on Visualizing.JP</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-US</language>
        <copyright>Yuichi Yazaki</copyright>
        <lastBuildDate>Mon, 03 Aug 2020 00:00:00 +0900</lastBuildDate><atom:link href="https://visualizing.jp/en/tags/network/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>Alluvial Diagrams</title>
        <link>https://visualizing.jp/en/alluvial-diagrams/</link>
        <pubDate>Mon, 03 Aug 2020 00:00:00 +0900</pubDate>
        
        <guid>https://visualizing.jp/en/alluvial-diagrams/</guid>
        <description>&lt;img src="https://visualizing.jp/alluvial-diagrams/images/cover.png" alt="Featured image of post Alluvial Diagrams" /&gt;&lt;p&gt;An alluvial diagram is a flow-based chart for showing how groups change across time, stages, or categorical dimensions. It is closely related to the Sankey diagram, but its emphasis is usually on the rearrangement of categories: how groups split, merge, persist, or disappear from one state to another.&lt;/p&gt;
&lt;p&gt;The name comes from the visual resemblance to alluvial flows in a river delta. In data visualization, the metaphor is useful because the chart lets readers follow continuous streams of cases, entities, or quantities as they pass through multiple classifications.&lt;/p&gt;
&lt;h2 id=&#34;historical-background&#34;&gt;Historical Background
&lt;/h2&gt;&lt;p&gt;Alluvial diagrams are related to the broader family of flow diagrams, including Sankey diagrams from the late nineteenth century. The modern use of the term became prominent through Martin Rosvall and Carl T. Bergstrom&amp;rsquo;s work on mapping change in large networks. Their 2008 paper used alluvial diagrams to summarize how scientific fields changed over time, including the emergence of neuroscience as a distinct field.&lt;/p&gt;
&lt;p&gt;The technique later spread beyond network science. Tools such as &lt;code&gt;ggalluvial&lt;/code&gt; for R, RAWGraphs, Flourish, and D3-based implementations made it easier to use alluvial diagrams for social science, biology, education, product analytics, and business reporting.&lt;/p&gt;
&lt;h2 id=&#34;data-structure&#34;&gt;Data Structure
&lt;/h2&gt;&lt;p&gt;An alluvial diagram usually consists of axes, strata, and flows.&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Element&lt;/th&gt;
          &lt;th&gt;Role&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;Axis&lt;/td&gt;
          &lt;td&gt;An ordered stage, time point, or categorical dimension&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Stratum&lt;/td&gt;
          &lt;td&gt;A category shown on an axis&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Flow&lt;/td&gt;
          &lt;td&gt;A band connecting categories across adjacent axes&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Weight&lt;/td&gt;
          &lt;td&gt;The quantity represented by the height or thickness of a flow&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The data can be represented in a wide format, where each row contains the category assignment for each axis, or in a long format, where each row describes one entity at one stage. In either case, the essential requirement is that each record can be traced across multiple states.&lt;/p&gt;
&lt;h2 id=&#34;purpose&#34;&gt;Purpose
&lt;/h2&gt;&lt;p&gt;The purpose of an alluvial diagram is to make categorical transition visible. It answers questions such as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Which groups remain stable?&lt;/li&gt;
&lt;li&gt;Which groups split into smaller groups?&lt;/li&gt;
&lt;li&gt;Which groups merge into a larger group?&lt;/li&gt;
&lt;li&gt;Which transitions account for most of the total volume?&lt;/li&gt;
&lt;li&gt;Where do unusual or unexpected paths appear?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This makes the chart useful when the story is not only about amount, but also about membership and reassignment.&lt;/p&gt;
&lt;h2 id=&#34;use-cases&#34;&gt;Use Cases
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Party preference changes across election surveys&lt;/li&gt;
&lt;li&gt;Customer segments moving between lifecycle stages&lt;/li&gt;
&lt;li&gt;Students changing majors or academic tracks&lt;/li&gt;
&lt;li&gt;Patients moving between diagnosis or treatment categories&lt;/li&gt;
&lt;li&gt;Cluster assignments changing across model versions&lt;/li&gt;
&lt;li&gt;Scientific fields, topics, or communities evolving over time&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;how-to-read-it&#34;&gt;How to Read It
&lt;/h2&gt;&lt;p&gt;Read an alluvial diagram from one axis to the next. Each axis represents a stage or category dimension, and each block on that axis represents a category. The height of a block shows the total quantity assigned to that category.&lt;/p&gt;
&lt;p&gt;The bands between axes show how those quantities move. A thick band means many cases follow that path. When one band splits into several bands, a group has been redistributed. When several bands merge into one, different groups have converged. Color is often used to help readers track either the origin category, the destination category, or a highlighted path.&lt;/p&gt;
&lt;h2 id=&#34;design-notes&#34;&gt;Design Notes
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Keep the number of axes and categories manageable.&lt;/li&gt;
&lt;li&gt;Use consistent color when the same category appears across axes.&lt;/li&gt;
&lt;li&gt;Decide whether color should encode origin, destination, or group identity.&lt;/li&gt;
&lt;li&gt;Minimize unnecessary crossings through careful ordering.&lt;/li&gt;
&lt;li&gt;Label strata clearly and keep labels close to their axis.&lt;/li&gt;
&lt;li&gt;Use interaction or highlighting when there are many flows.&lt;/li&gt;
&lt;li&gt;Avoid implying individual movement if the data only describes aggregate counts.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;strengths&#34;&gt;Strengths
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Shows splits, merges, and persistence in one view.&lt;/li&gt;
&lt;li&gt;Makes categorical change easier to follow than a table.&lt;/li&gt;
&lt;li&gt;Works well for longitudinal or multi-stage classification data.&lt;/li&gt;
&lt;li&gt;Can reveal dominant transition paths and small but important exceptions.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;limitations&#34;&gt;Limitations
&lt;/h2&gt;&lt;p&gt;Alluvial diagrams can become difficult to read when there are too many categories, too many axes, or many similarly sized flows. They are also not ideal for precise numerical comparison; readers can estimate relative size from band thickness, but exact values usually require labels, tooltips, or a supporting table.&lt;/p&gt;
&lt;p&gt;Another common risk is overinterpretation. A smooth band may look like a physical flow, but the chart often represents classification changes rather than literal movement.&lt;/p&gt;
&lt;h2 id=&#34;alternatives&#34;&gt;Alternatives
&lt;/h2&gt;&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Alternative&lt;/th&gt;
          &lt;th&gt;When to Use It&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;Sankey diagram&lt;/td&gt;
          &lt;td&gt;When the main subject is quantity flowing through a system&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Parallel sets&lt;/td&gt;
          &lt;td&gt;When comparing relationships among categorical variables&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Stacked bar chart&lt;/td&gt;
          &lt;td&gt;When composition by stage is more important than individual paths&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Streamgraph&lt;/td&gt;
          &lt;td&gt;When continuous time-series composition is the focus&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Transition matrix&lt;/td&gt;
          &lt;td&gt;When exact pairwise counts are more important than visual storytelling&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;summary&#34;&gt;Summary
&lt;/h2&gt;&lt;p&gt;Alluvial diagrams are effective when categories change across ordered states and the reader needs to understand how groups split, merge, and persist. They are especially useful for explaining transitions and reclassification, but they require careful ordering, color, and labeling to avoid visual clutter.&lt;/p&gt;
&lt;h2 id=&#34;references&#34;&gt;References
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.data-to-viz.com/graph/alluvial.html&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Alluvial Diagrams - Data to Viz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://cran.r-project.org/web/packages/ggalluvial/vignettes/ggalluvial.html&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;ggalluvial: Alluvial Plots in ggplot2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://arxiv.org/abs/0812.1242&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Rosvall, M. and Bergstrom, C. T. Mapping change in large networks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://rawgraphs.io/learning/how-to-make-an-alluvial-diagram/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;RAWGraphs: How to make an alluvial diagram&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://flourish.studio/visualisations/alluvial-diagram/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Flourish: Alluvial diagram template&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
        </item>
        
    </channel>
</rss>
