ggrounded creates bar plots with rounded corners using ggplot2.
Install the released version of ggrounded from CRAN:
Or install the development version from GitHub with:
# install.packages("pak") pak::pak("botan/ggrounded")
There are two types of bar charts in ggplot2:
geom_col_rounded() are wrappers on them for rounding the top corners.
geom_bar_rounded() makes the height of the bar proportional to the number of cases in each group (or if the
weight aesthetic is supplied, the sum of the weights).
If you want the heights of the bars to represent values in the data, use
Please note that the ggrounded is released with a contributor code of conduct. By contributing in this project you agree to abide by its terms.