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.
Blog about all things R, data science, and visualisation.
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.
{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!
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?
Combining parameterised reporting with conditional content in Quarto, makes it easy to create multiple versions of R tutorial worksheets - a questions worksheet for students, and a solutions worksheet for students to take home.
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.
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.