Global Temperature Change in R & D3 (without the vertigo)

This made the rounds on social media last week: Spiraling global temperatures from 1850-2016 (full animation) https://t.co/YETC5HkmTr pic.twitter.com/Ypci717AHq— Ed Hawkins (@ed_hawkins) May 9, 2016 One of the original versions was static and was not nearly as popular, but—as you can see—this one went viral. Despite the public’s infatuation with circles (I’m lookin’ at you, pie… Continue reading

(ggplot2) Exercising with (ggalt) dumbbells

I follow the most excellent Pew Research folks on Twitter to stay in tune with what’s happening (statistically speaking) with the world. Today, they tweeted this excerpt from their 2015 Global Attitudes survey: The age gap in social media use around the world https://t.co/0Dq1PcbExG pic.twitter.com/9HBM7gLxwR— PewResearch Internet (@pewinternet) April 17, 2016 I thought it might… Continue reading

Beating lollipops into dumbbells

Shortly after I added lollipop charts to ggalt I had a few requests for a dumbbell geom. It wasn’t difficult to do modify the underlying lollipop Geoms to make a geom_dumbbell(). Here it is in action: library(ggplot2) library(ggalt) # devtools::install_github("hrbrmstr/ggalt") library(dplyr)   # from: https://plot.ly/r/dumbbell-plots/ URL <- "https://raw.githubusercontent.com/plotly/datasets/master/school_earnings.csv" fil <- basename(URL) if (!file.exists(fil)) download.file(URL, fil)… Continue reading