Is there some native way to insert rect inside tables?

Hi,
I would like to build something like the image below.

image

I have seen this example.

I wanted to understand if there was some native option to activate it.

Something like we have in pandas dataframe df.style.bar(subset=['B'], color='#d65f5f').

Thank you

You can do something close to that with Inputs.table. See the example in the documentation here:
"The format function can return a text string or an HTML element.
For example, this can be used to render inline visualizations such as bars or sparklines."

1 Like