I'm building a shiny dashboard and was wondering how I'd code this gauge bar. Is there a Shiny function or JS code that can create a bar like this that is filled according to whether input data is "Not at all", "1 or 2 days", "3 or 4 days", etc.
I know that you can code up a gauge chart like this, but I wanted a bar instead of this chart.
...