Skip to main content

jbrnbrg

Tag: ggtext

A Median Chocolate Chip Cookie Recipe & Styling ggplot Text

Today’s post is a recipe for median chocolate chip cookies that’s also a ggplot chart with colored-coded text in the subtitle. The recipe is based on summary stats from 200+ recipes from eightportions.com’s “Recipe Box” data where the recipe title contains the text: “chocolate chip cookies” and the colored text was made possible with ggtext. Tl;dr: The recipe: I will briefly cover the source data, preparation, and one way to add colored text and unicode symbols ◍ to ggplot texts like caption, subtitle, title, etc.