How to control color of the tile/flow in sankey in Looker

I have created a sankey chart using the Marketplace plugin in Looker but I am unable to control the color settings for each individual tile/flow of the diagram.

E.g.: there is a flow towards "Success" node which I want to be represented in green color and the "Failed" node to be represented in red. How can this be done?

Solved Solved
0 2 228
1 ACCEPTED SOLUTION

I would suggest trying to use Sankey chart by using Chart Editor.  https://cloud.google.com/looker/docs/best-practices/sankey

That way, you can then override the colours of segments by referring to their IDs in the configuration. For example, in my chart Barcelona is purple:

Dawid_0-1726087623584.png

But I changed it to red in the config:

Dawid_1-1726087658370.png

 

View solution in original post

2 REPLIES 2

I would suggest trying to use Sankey chart by using Chart Editor.  https://cloud.google.com/looker/docs/best-practices/sankey

That way, you can then override the colours of segments by referring to their IDs in the configuration. For example, in my chart Barcelona is purple:

Dawid_0-1726087623584.png

But I changed it to red in the config:

Dawid_1-1726087658370.png

 

Thanks Dawid. Unfortunately my workplace admin has not enabled the "can_override_vis_config" permission. Is there any alternative to the above method?

Top Labels in this Space
Top Solution Authors