Blog

Blog about all things R, data science, and visualisation.

Annotated area charts with plotnine

The plotnine visualisation library brings the Grammar of Graphics to Python. This blog post walks you through the process of creating a customised, annotated area chart of coal production data.

July 11, 2024

What’s new in {PrettyCols} 1.1.0?

Series: {PrettyCols}

{PrettyCols} is an R package containing aesthetically pleasing colour palettes that are compatible with {ggplot2}. Find out about new features and palettes contained in the latest release!

June 20, 2024

Coloured text in {ggplot2}: {ggtext} vs {marquee}

An alternative to a traditional legend is using coloured text in a subtitle. In {ggplot2}, we can do this using the {ggtext} package. You can also do it using the new {marquee} package. How do they compare?

June 4, 2024

Sketchy waffle charts in R

Waffle charts can be used to visualise counts or percentages of categorical data. This blog post describes a slightly unusual solution to creating sketchy looking waffle charts in R using the {sf} and {roughsf} packages.

April 29, 2024

A webR powered Shiny app for browsing TidyTuesday plots

Shinylive, GitHub Actions, and R - the magic combination to create an app that updates itself every week. This blog post gives a walk-through of scheduled data collection, building a Shiny app to display it, and deploying with Shinylive.

March 26, 2024