Static insights#

In DSS code recipes and notebooks, you can create static insights: data files that are created by code and that can be rendered on the dashboard.

This capability can notably be used to embed in one click charts created using:

You can also use it for embedding in the dashboard any kind of content (image, HTML, …)

Reference documentation#

dataiku.insights.save_data(id, payload, ...)

Saves data as a DSS static insight that can be exposed on the dashboard

dataiku.insights.save_figure(id[, figure, ...])

Saves a matplotlib or seaborn figure as a DSS static insight that can be exposed on the dashboard

dataiku.insights.save_bokeh(id, bokeh_obj[, ...])

Saves a Bokeh object as a DSS static insight that can be exposed on the dashboard A static HTML export of the provided Bokeh object is done

dataiku.insights.save_plotly(id, figure[, ...])

Saves a Plot.ly figure as a DSS static insight that can be exposed on the dashboard A static HTML export of the provided Plot.ly object is done

dataiku.insights.save_ggplot(id, gg[, ...])

Saves a ggplot object as a DSS static insight that can be exposed on the dashboard