When it comes to learning data viz, steal like an artist


Hey folks,

Happy 2025! I really hope that one of your resolutions for the coming year is to grow in confidence and skill using data analysis tools like R. Regardless, I’m honored that you continue to check out the content I describe here in the newsletter and on my YouTube channel. Thank you.

Looking back on my 2024, I did a lot of thinking about how we learn, where I find inspirations, and how I teach. I have been fascinated by other YouTube channels that break down why songs are great, the techniques of different directors, recreating scenes from movies, and describe how to recreate drawings and paintings. So why not look at why data visuals are great and how we can recreate them with our tools?

This is what I’ve been doing since August. I’ve really loved describing my thought process from a 30,000-foot view and then implementing that view on YouTube. Of course, the goal isn’t to recreate other people’s visuals and end there. It’s a means to an end. The goal really is to learn techniques that we can apply to our own questions, to critique visuals from other scientists, and to develop our own methods.

Sometimes I worry that I spend too much time getting just the right font size, line thickness, symbol size, color, or margin width. But by modifying those attributes so fastidiously we are learning how those attributes work. I’m not sure that I need 100 shades of gray or that I can see the difference between a line thickness of 0.10 and 0.15. But, looking at the nuances of these values has really been educational for me and a fun exploration. I have been forced to try things that I wouldn’t ordinarily try.

As things were winding down last semester, I was listening to a Spotify playlist when a song from a family-favorite band, OK GO, came on. Seriously, if you and you kids haven’t “wasted” a night watching OK GO videos on YouTube, you’re really missing out. Anyway, this was the album art for the song that came up

I thought to myself, “Wait, OK GO knows how to program in R? OK GO is interested in genomics?” Probably not. My point in sharing this humorous episode is that by looking for visuals to share with you all I have started looking for visualizations everywhere - even when it isn’t a data visualization!

I’ll hold of on a 30,000-foot description of how I’d make this and instead opt for a 100,000-foot description (is that a thing?). I suspect that I’d start by creating a stacked bar plot and removing the space between the bars on the x-axis - perhaps we’d use geom_area(). Then I’d then use coord_radial() to circularize the area plot. To get the cool color scheme, I’d have my area plot be made up of 20 or so different categorical variables. I’d use scale_fill_manual() to then map each of those variables to a different color. Totally doable :) Go ahead.

Of course, this would take a lot of fiddling to get the right color scheme and pattern. You might be surprised to learn that there are R programmers who use R to generate art. One package that I found is {aRtsy}.

As much fun as I think it would be to generate my own version of this type of art, I’ll likely pass. Part of what I actually love about the album cover is how organic and chaotic and beautiful the patterns are. That’s pretty much a theme for OK GO’s videos in general. For this album cover, I suspect someone used a turntable and dropped different colored paints. Perhaps they had different viscosities and perhaps the artist etched in channels to create the radial streaks we see. Well, I just googled it and sure enough, that’s pretty much / what they did.

My hope for all of us in 2025 is that we tune our eyes to find more data visualizations in the world. Then, the fun begins with thinking through how we’d create the visual followed by actually making the visual.

Workshops

I'm pleased to be able to offer you one of three recent workshops! With each you'll get access to 18 hours of video content, my code, and other materials. Click the buttons below to learn more

In case you missed it…

Here are some videos that I published this week that relate to previous content from these newsletters. Enjoy!

video previewvideo preview

Finally, if you would like to support the Riffomonas project financially, please consider becoming a patron through Patreon! There are multiple tiers and fun gifts for each. By no means do I expect people to become patrons, but if you need to be asked, there you go :)

I’ll talk to you more next week!

Pat

Riffomonas Professional Development

Read more from Riffomonas Professional Development

Hey folks, I’m at the end of a day after I pulled an all-nighter trying to hit a grant proposal deadline. I don’t recall ever doing this in college. I seem to pull an all-nighter every five years or so. I’m too old for this! Anyway, the proposal is in and now I’m ready to move on to fun things… like talking to you about visualizing data! A few years back Whitney Battle-Baptiste and Britt Rusert put together an amazing collection of visualizations by WEB DuBois that he presented at the 1900...

Hey folks, Wow, I really didn’t expect my overview of Positron to resonate with so many people last week on YouTube! I’ll work on coming up with another video showing Virtual Studio Code (VS Code) in action. As others have mentioned in the episode’s comments, I’m not really sure why Posit is building Positron instead of making things easier within VS Code for R users. To me the need for an IDE that allows people to use multiple programming languages is a red herring - VS Code does that...

Hey folks, I hope you’ve noticed that this newsletter and the YouTube channel have nearly caught up. At this point there’s a 10-day lag between when I post a newsletter describing a data visualization and when I post the recreation video. I could possibly push that to a 3-day lag, but I’d like people to have a chance to work through the code on their own before I give my solution. After having existential dread last week that I’d never find another good plot to share, it appears my cup...