Create a color-bar formatter using proportion

proportion_bar(color = "lightgray", ...)

Arguments

color

the background color of the bars

...

additional parameters passed to proportion()

Examples

formattable(mtcars, list(mpg = proportion_bar()))