Anyone know if this beautiful visualisation can be created using any R package?

Hi, this is my first post so I'm hoping someone reads this!

I believe this stunning visualisation by David McCandless is quite famous. I would love to create a similar one in R if it's possible. Does anyone know if there's an R package which could be used for this?

Many thanks
MFJ

The main figure could be made with ggplot2 using coord_polar()and a nice palette. More work to get the labels all in there with the right spacing, rotation, etc., but doable. The table on the right could be made with ggtext or gt. Layout with grid or patchwork.

A very rough example:

library(ggplot2)
DF <- data.frame(X=sample(1:50,50,replace=TRUE),
                 Y=sample(1:10,50,replace=TRUE),
                 Col=sample(LETTERS[1:10],50,replace = TRUE))
ggplot(DF,aes(x=X,y=Y,fill=Col,width=0.5,height=0.5))+geom_tile()+
  coord_polar()+scale_x_continuous(breaks = 1:50)

Created on 2022-01-19 by the reprex package (v2.0.1)

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.