New Sankey feature – The IEDC-floweaver link

Sankey diagrams are a data visualisation technique that shows a system of flows from one process to another, in which the width of the arrows is proportional to the flow rate of the depicted extensive property. They are an important visualisation technique for MFA systems and widely applied in our community.[1-3] Among the different software tools that are available for creating Sankey diagrams from MFA datasets the floweaver Sankey generator package sticks out because

  • It origins from our community – floweaver is developed and maintained by Rick Lupton (U Bath, UK) and several contributors.
  • It’s a great Sankey tool! Floweaver takes a systematic approach to the structure of the input data (building on the general data model of an MFA flow as material-origin-destination) and the programming of the Sankey diagram’s structure and features,with automatic aggregation of nodes and flows, the option to loop back flows for material cycle diagrams, introducing waypoints (cross-sections) into the diagram, a flexible approach to specifying the layout of the Sankey, and several more.
  • It is programmed in Python, a modular and versatile programming language that is widely used in the IE/MFA community.
  • It’s open source and version-managed on GitHub and comes with substantial training material.
  • It is modular and can be embedded in web applications via the D3.js library.
  • A number of great implementations for MFA already exist, many of them from the IE/MFA community, and there is an active community of users.
  • It’s documented in a journal publication [4] and comes with an extensive documentation and set of tutorials [5].

So, it’s time to link floweaver to the IEDC!   The floweaver-IEDC-link was developed in 2026 with the following goals:

  • Offer an open and interactive web-based platform to find, inspect, and download MFA data alongside with their Sankey visualisations
  • Develop a systematic, transparent, traceable, and reproducible workflow to collect both, MFA data and their Sankey visualisations, from the literature
  • Contribute to collecting a critical mass of both MFA results and Sankeys to making this collection a useful resource for the community and to building a code base for good Sankey visualisations.
  • Implement a few additions to floweaver Sankeys, including the automatic display of a caption, a color legend, a reference flow to show the scale of the values shown, a license statement, and a traceability statement.

These four core features of the IEDC-floweaver link are documented in detail in the IEDC handbook. The result looks as follows:

This screenshot from the IEDC homepage shows the dropdown menus on the left side, where the user selects region, year, material, layer, and the scenaro (if any) for which to draw the Sankey from a given IEDC dataset. On the right side, the D3 canvas displays the Sankey, which is interactive (flow values are shown when hovering over with the mouse pointer), plus the caption (including the selected time, region, etc. chosen and the unit), the commodities (color legend as programmed in the floweaver Sankey), and a traceability and license statement. Each Sankey config and each link between an IEDC dataset and a Sankey config are registered in a GitHub repository to ensure traceability and openness.

When hitting the export button, the Sankey will be exported to svg (for further editing and interactive display of flow values) or to png. Some sample result looks are shown here:

With that: Happy Sankey’ing!

Links

The IEDC-floweaver integration is documented in the IEDC handbook, page 75: https://doi.org/10.6094/UNIFR/286224

The IEDC can be found under this address: https://www.database.industrialecology.uni-freiburg.de/

References

[1] Cullen, J. M., & Allwood, J. M. (2013). Mapping the global flow of aluminum: From liquid aluminum to end-use goods. Environmental Science and Technology, 47(7), 3057–3064. Scopus (WOS:000317173100009). https://doi.org/10.1021/es304256s

[2] Lupton, R. C., & Allwood, J. M. (2017). Hybrid Sankey diagrams: Visual analysis of multidimensional data for understanding resource use. Resources, Conservation and Recycling, 124, 141–151. https://doi.org/10.1016/j.resconrec.2017.05.002

[3] Schmidt, M. (2008). The Sankey Diagram in Energy and Material Flow Management. Journal of Industrial Ecology, 12(2), 173–185. https://doi.org/10.1111/j.1530-9290.2008.00015.x

[4] Hybrid Sankey diagrams: Visual analysis of multidimensional data for understanding resource use. R.C. Lupton and J.M. Allwood. Resources, Conservation and Recycling, Volume 124, September 2017, Pages 141-151. https://doi.org/10.1016/j.resconrec.2017.05.002

[5] https://floweaver.readthedocs.io/en/latest/index.html

Leave a Reply

Your email address will not be published. Required fields are marked *