Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New plot type: Sankey diagram #26

Closed
janosh opened this issue Mar 15, 2022 · 1 comment · Fixed by #37
Closed

New plot type: Sankey diagram #26

janosh opened this issue Mar 15, 2022 · 1 comment · Fixed by #37
Labels
enhancement New feature or request plotly Concerning plotly-powered functions

Comments

@janosh
Copy link
Owner

janosh commented Mar 15, 2022

We should add a Sankey diagram as a tool for visualizing space group distributions before vs after applying some symmetry breaking operation to a set of crystals.

sankey

@janosh janosh added enhancement New feature or request plotly Concerning plotly-powered functions labels Mar 15, 2022
@janosh
Copy link
Owner Author

janosh commented May 21, 2022

Found another use case that made me implement this. Aflowlib and Spglib give different results for which symmetry operations apply to a given crystal structure. If you have a large dataset, Sankey diagrams are great for visualizing which spacegroups in spglib occasionally map to which other spacegroups in aflow.

Numbers before colons are international spacegroups, after colons are occurrence counts.
sankey_spglib_vs_aflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plotly Concerning plotly-powered functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant