mosaic
mosaic copied to clipboard
Add text labels to annotate the bars in bar charts
E.g. in this chart, we could show the values on each bar. For small bars, the label should be outside and for large bars the labels should be on the inside.
This could be done as an interactor or a layered chart.
Just to clarify: are you suggesting (1) that we update examples like this (which I support!) by adding labels or (2) that the library should automatically add text labels by default in some cases (something I'm more skeptical about). I'm assuming the former, but always good to check... :)
Definitely 1 and I wouldn't want to change the default unless there is a strong reason.
But if it's not super easy, it might be worth adding a helper.