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."