How to save interactive graph on Dataiku Dashboard

epsi95
Level 3
How to save interactive graph on Dataiku Dashboard

Currently, I am saving the plots in `insights` using

insights.save_figure(...)

After that, I am adding those static insights on the `dashboard`.

Those graphs are lifeless, I mean they are just images.

Can we save interactive graphs like what Plot.ly offers? For that do we need to save some sort of html?

Please any helpful guidance will be appreciated.

0 Kudos
2 Replies
EliasH
Dataiker

Hi @epsi95 ,

If you like to work with plot.ly figures the insights API has a save_plotly() method you can use.

For reference, you would do something like this:

from dataiku import insights

# f is a plot.ly figure, or any object that can be passed to iplot()

insights.save_plotly("plotly_plot", f)


Then, navigate to your dashboard and add a "static insight" to the dashboard and pick your plotly plot 

0 Kudos
epsi95
Level 3
Author

Unfortunately, this does not answer my question. But thanks anyway ๐Ÿ™‚

0 Kudos