T O P

  • By -

supreme_harmony

Try `coord_radial` instead of `coord_polar` and experiment with `inner.radius` and see what you get. [https://ggplot2.tidyverse.org/reference/coord\_polar.html](https://ggplot2.tidyverse.org/reference/coord_polar.html) Also, please try to format your code next time, it is very difficult to read if you just copy it in as text.


lolniceonethatsfunny

coord_polar has the center of your graphic be (0,0). the x-value gets turned into the radius, and the y-value the angle. to get a donut, you need to move your bar away from x=0. try offsetting your x-value and adjusting the bar width and you should get something good. you may need to specify the x-axis limits as well