CODE AND DESCRIPTION
With the {geomtextpath} package, it is pretty easy to write curved texts. This can help you e.g. in line plots to avoid having to use a bulky legend. Instead you can just put the labels on top of the curved lines. In this video we show you how {geomtextpath} works and you can find all of the code from the video at https://rfortherestofus.com/2024/01/get-started-geomtextpath
If you want to receive emails to help you on your R journey, sign up for the R for the Rest of Us newsletter: https://rfortherestofus.com/newsletter