rfortherestofus / omni

RMarkdown template, ggplot2 theme, and table function for OMNI Institute
https://rfortherestofus.github.io/omni/
Other
20 stars 3 forks source link

ggplot gallery: column chart edits #67

Open OskaratOmni opened 5 months ago

OskaratOmni commented 5 months ago

Typically we wouldn't have a labeled y axis when we have the values on the bars.

It doesn't work on this graph, probably, bc we have some low % values, but can you show how to put the labels on the inside of the bars - in this case that would be with the 47% in bold white font at the top of the inside of the bar.

dgkeyes commented 5 months ago

Typically we wouldn't have a labeled y axis when we have the values on the bars.

Fixed:

image

dgkeyes commented 5 months ago

It doesn't work on this graph, probably, bc we have some low % values, but can you show how to put the labels on the inside of the bars - in this case that would be with the 47% in bold white font at the top of the inside of the bar.

All set as well:

image

See it live: https://stupendous-biscuit-9f1c75.netlify.app/ggplot/graph_column_chart.html