@dr_allancameron and I are thrilled that the #rstats package {geomtextpath}, a #ggplot2 extension, that we've been rearing over the past few months has landed on CRAN 📢! We loved that there was engagement during development, so a few of our favourites in the 🧵⬇️
Allan and I both answer ggplot2 questions on SO a bit, so it was no coincidence that we were intrigued by the same question that sparked the package
stackoverflow.com/q/69867669/113…
Early on when we just got it working in principle, there was already a blogpost out that put us *on the right path*:
If your thesis' structure is too linear for your advisor's liking, why not remedy that and putting it on the latest datavis trend: a spiral!
Bummed out by another lockdown? Unable to visit France this year? Hopefully these regions of France can cheer you up! (Disclaimer: they are only text paths when they are from the right region of France)
When you've grown tired of horizontal labels on your polar plot, you can now place the labels on the outer circle!
This creative example shows nicely that you can likely omit a legend item by directly labelling your line plots:
Near and dear to my heart are honeybees 🐝! I used to have some hives myself, so this combined some of my favourite things
Speaking about cross-pollination, it was great to see people already combining the package with others in ggplot2's ecosystem, such as {ggridges}:
Also {ggfx}'s `with_outer_glow()` can be combined to give the appearance of outlines, or shadow text!
Thanks to @thomasp85's excellent work on modernising text display in R in {textshaping}, it was relatively easy for us to incorporate RtL and BiDi support:

tidyverse.org/blog/2021/02/m…

Also a big thanks to @ClausWilke for pioneering {gridtext} and allowing us to borrow some of his functions for parsing rich text!
Want to know more? Browse through the examples of the readme or skim the vignettes here:
allancameron.github.io/geomtextpath/

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Teun van den Brand

Teun van den Brand Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @TeunvandenBrand

Feb 11, 2021
Hey #rstats! I'm excited to announce that my first package, the #ggplot extension ggh4x is now available on #CRAN 📢! cran.r-project.org/web/packages/g…. Thanks to everyone putting package development tutorials out there and the ggplot2 team for the extension mechanisms! 🧵
The package is mostly a collection of convenience functions I've accumulated over time, so it might be a bit chaotic. Hopefully it can be convenient to you too! Examples below:
Get rid of duplicated strip labels in multi-layered facets with `facet_nested()`:
Change the absolute or relative sizes of panels to your liking
Read 13 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(