Adding conditional formatting to big number graph (st.metric)

Hi, I’m very interested in enriching big number graphs (st.metric) with different colors based on value (something like range 0-35 red, 36-64 yellow, 65-100 green). Did anyone manage to implement it and would you share code?

Thank you in advance,
Jelena

Hi @Jelena_Radin, are you looking for something like this?

There’s also the info card you can have a look at: hydralit-components · PyPI

Cheers

1 Like

This is perfect! Thank you so so much!

1 Like