How to save interactive graph on Dataiku Dashboard

epsi95
epsi95 Dataiku DSS Core Concepts, Registered Posts: 15 ✭✭✭✭
edited July 16 in Using Dataiku

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.

Answers

  • EliasH
    EliasH Dataiker, Registered Posts: 34 Dataiker
    edited July 17

    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

  • epsi95
    epsi95 Dataiku DSS Core Concepts, Registered Posts: 15 ✭✭✭✭

    Unfortunately, this does not answer my question. But thanks anyway

Setup Info
    Tags
      Help me…