Sankey diagram example#803
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #803 +/- ##
==========================================
+ Coverage 97.53% 97.88% +0.35%
==========================================
Files 28 28
Lines 3124 3124
==========================================
+ Hits 3047 3058 +11
+ Misses 77 66 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Looks fine in terms of the code and it renders the code cells correctly - nothing is showing up for the plots for me locally, just a warning that ploty objects cannot be displayed. I suspect this is not a problem with this PR |
|
I have spiked splitting the Sustainability Summary example into separate notebooks for the summary, materials and processes, transports, and full hierarchy on a separate branch. I'll try and finish that off today, but it will be a separate branch and PR. |
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
Closes #736
Add an example of a Sankey diagram. This is still somewhat limited, there is no in-use, circularity, or end-of-life aspect to the analytics, but nevertheless this shows the principle of how the total embodied energy of a product is created based on the materials, processes, and transportation.
This could also be done as part of the full hierarchical BoM. I might have a look to see how the visualization works there, but I feel like the data would be too complex to make sense of.
I also thought about adding this as a standalone example. I don't think it warrants this on its own, but possibly the graphing could all be broken out into individual examples. This probably wouldn't be too bad to do.