Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extended support for plotly diagrams + Improved scope documentation of kedro's plotly support

See original GitHub issue

Hey team,

thanks for the great tool.

Cross posting


I am trying to:

  1. save a sankey diagram in Kedro
  2. visualise a sankey diagram in Kedro viz. [note: turns out that this is not possible]


  • The best way to visualize the output of the pipeline is a Sankey diagram.
  • Unfortunately, neitherPlotly.JSONDataset nor plotly.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.


  • Include labels so that we can categorise your feature request

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

AntonyMilneQBcommented, Apr 6, 2022

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.

datajoelycommented, Apr 6, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found