Visualization

How to reproduce a NYT graphic

Today the New York Times published the striking figure of US unemployment claims in light of the recent COVID-19 pandemic. I’ve always been a strong proponent distilling the essence of what I’m trying to convey in my research especially when I generate plots and ggplot allows me to do just that. When I run workshops I always mention how you can plot nearly anything with ggplot. Let’s see if we can put my claim to the test and recreate this incredible plot of the number of unemployment claims.

Analyzing My Sleep Data

I’ve been using the iOS Sleep Cycle app to track my sleeping since late 2014 and have accumulated quite a bit of information about my sleeping habits. I wanted to see if I could do some exploratory data analysis and try out some different packages to clean up and visualize my data. The data from the app comes in a csv file and contains information like date, sleep quality, sleep duration, and more recently it can integrate with the pedometer so you can get the number of steps in a given day.

The World's Most Powerful Rocket

For Now… SpaceX launched Falcon Heavy this week and I remembered how Elon Musk noted that it would have twice the thrust of any rocket currently in existence. I was intrigued by this statement and decided to look further and compare the thrusts of other rockets of the past and rockets that are planned in the future. Falcon Heavy thrust will be 5.1M lbf at liftoff -- twice any rocket currently flying.

Graphing Starbucks Locations

Welcome to my R tutorial series This is where I’ll be posting tutorials on how to use R and Rstudio to create some amazing graphics and visualizations. If you are completely new to R, don’t worry, I will post guides to explain how to start form scratch. This post assumes you have R and Rstudio installed and know how to install packages.