MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.37k stars 302 forks source link

Sankey Diagram #1966

Open Nosferican opened 2 years ago

Nosferican commented 2 years ago

Feature request for Sankey diagrams.

See for example:

This is an example using Makie: https://gist.github.com/jkrumbiegel/cfcadb19785e13edb5f22b59e1ddac1c

Would be great to get it in AoG eventually.

briochemc commented 1 year ago

+1 to this feature request. Also just want to add that whoever implements it should consider making the connections to be of equal width (see gif below from https://www.flerlagetwins.com/2020/01/equal-width-sankey.html): Comparison

jkrumbiegel commented 1 year ago

There's this but it's not completely polished yet https://github.com/jkrumbiegel/SankeyMakie.jl

briochemc commented 1 year ago

FWIW I stumbled upon this fairly recent MATLAB implementation: https://au.mathworks.com/matlabcentral/fileexchange/128679-sankey-plot#functions_tab