Extended support for plotly diagrams + Improved scope documentation of kedro's plotly support
See original GitHub issueHey team,
thanks for the great tool.
Cross posting https://github.com/kedro-org/kedro/issues/1337.
Description
I am trying to:
- save a sankey diagram in Kedro
- visualise a sankey diagram in Kedro viz. [note: turns out that this is not possible]
Context
- The best way to visualize the output of the pipeline is a Sankey diagram.
- Unfortunately, neither
Plotly.JSONDataset
norplotly.PlotlyDataSet
support this kind of diagram
tl;dr: Currently Kedro Viz is limited to the basic diagrams that plotly.js includes in its basic version.
Possible Implementation
Overall, my request is:
- extend kedro’s support non basic
plotly.*Dataset
(e.g.HTMLdataset
) - extend kedro-viz support accordingly Seems to me that supporting (plotly) html dataset would make kedro/kedro viz much more versatile for diagram vi
Possible Alternatives
In the meantimes, that would be nice to make clear in Kedro’s doc that the plotly support is still limited and clearly state what can and cannot be done.
Checklist
- Include labels so that we can categorise your feature request
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Getting started with plotly in Python
The plotly Python library is an interactive, open-source plotting library that supports over 40 unique chart types covering a wide range of statistical, ......
Read more >Plotly Python Graphing Library
Plotly's Python graphing library makes interactive, publication-quality graphs. Examples of how to make line plots, scatter plots, area charts, bar charts, ...
Read more >plotly.graph_objects.Layout — 5.11.0 documentation
hiddenlabelssrc – Sets the source reference on Chart Studio Cloud for hiddenlabels . hidesources – Determines whether or not a text link citing...
Read more >Plotly express wide-form support in Python
Over 26 examples of Plotly Express Wide-Form Support including changing color, size, log axes, and more in Python.
Read more >plotly.graph_objects.Figure — 5.11.0 documentation
Sets the source reference on Chart Studio Cloud for hiddenlabels . hidesources. Determines whether or not a text link citing the data source...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, I don’t think this is something users can fix themselves at all. They’d need to fork the kedro repo, modify the requirements themselves, build a whole new python package and install that in order to make this work. Unless there’s some hackery I’m not aware of that allows you to inject a new JS package in your browser somehow, but I don’t think so.
My intuition is that it’s beyond the knowledge of a regular python user to know how to extend this JavaScript stuff - combined with the reduction of filesize in core this would be really neat.