Wrote up some debugging advice for my #dataviz students and figured it's useful for everyone: **Slow down, simplify, and do small things**

https://datavizs23.classes.andrewheiss.com/news/2023-07-05_messy-broken-code-tips.html

It includes a quick example of how to incrementally fix a broken #rstats ggplot

Data Visualization with R - Tips for debugging and cleaning broken code

@andrew beautiful. I usually organize teaching in tha same way. Coping the entire code again and adding one line, so I only explain what that line so to the the pipe (%>% pipe or + pipe) 👍
@andrew at the end I recommend them to write the comple pipa as a function