Blog Archives

Easier Composite U.S. Choropleths with albersusa

March 29, 2016
By
Easier Composite U.S. Choropleths with albersusa

Folks who’ve been tracking this blog on R-bloggers probably remember this post where I showed how to create a composite U.S. map with an Albers projection (which is commonly referred to as AlbersUSA these days thanks to D3). I’m not sure why I didn’t think of this earlier, but you don’t need to do those

Read more »

Nuclear Animations in R

March 26, 2016
By

@jsvine (Data Editor at BuzzFeed) cleaned up and posted a data sets of historical nuclear explosions earlier this week. I used it to show a few plotting examples in class, but it’s also a really fun data set to play around with: categorial countries; time series; lat/long pairs; and, of course, nuclear explosions! My previous

Read more »

Using ProPublica “statefaces” in ggplot2

March 19, 2016
By
Using ProPublica “statefaces” in ggplot2

I’m a huge fan of ProPublica. They have a super-savvy tech team, great reporters, awesome graphics folks and excel at data-driven journalism. Plus, they give away virtually everything, including data, text, graphics & tools. I was reading @USATODAY’s piece on lead levels in drinking water across America and saw they had a mini-interactive piece included

Read more »

Stacking the deck against treemaps

March 18, 2016
By
Stacking the deck against treemaps

So, I (unapologetically) did this to @Highcharts last week: @hrbrmstr Your loss of words inspired this post!! https://t.co/3KO0BP0k0u @hadleywickham @ma_salmon @tdmv @bearloga @rushworth_a @awhstin— Highcharts (@Highcharts) March 18, 2016 They did an awesome makeover (it’s interactive if you follow the link): And, I’m not kidding, it’s actually a really good treemap. Not too many hierarchies

Read more »

Hy-phen-ate All The Things! (in R)

March 18, 2016
By

hyphenatr–what may be my smallest package ever–has just hit CRAN. It, well, hyphenates words using libhyphen (a.k.a. libhnj). There are no external dependencies (i.e. no brew install, apt get, et. al. required) and it compiles on everything CRAN supports including Windows. I started coding this to see if it could be a “poor dude’s ‘syllabifier'”

Read more »

Supreme Annotations

March 16, 2016
By
Supreme Annotations

This is a follow up to a twitter-gist post & to the annotation party we’re having this week I had not intended this to be “Annotation Week” but there was a large, positive response to my annotation “hack” post. This reaction surprised me, then someone pointed me to this link and also noted that if

Read more »

Spinning Cycles in Box #4 To Take the Pies out of Pi Day

March 14, 2016
By
Spinning Cycles in Box #4 To Take the Pies out of Pi Day

I caught this tweet today: INSTEAD OF WORRYING ABOUT HOW OTHER DATA SCIENTISTS USE 🕒 PERHAPS @WSJGraphics COULD SPEND THEIR 🕒 LEARNING DATAVIZ pic.twitter.com/xrP2eUhaaQ— Metrics Hulk (@MetricsHulk) March 14, 2016 The WSJ folks usually do a great job, but this was either rushed or not completely thought through. There’s no way you’re going to be

Read more »

ggplot2で字幕 [Subtitles in ggplot2]

March 12, 2016
By
ggplot2で字幕 [Subtitles in ggplot2]

Subtitles aren’t always necessary for plots, but I began to use them enough that I whipped up a function for ggplot2 that does a decent job adding a subtitle to a finished plot object. More than a few folks have tried their hand at this in the past and this is just my incremental contribution

Read more »

Some Light Image Processing & Creation With R

March 10, 2016
By
Some Light Image Processing & Creation With R

A friend, we’ll call him Alen put a call out for some function that could take an image and produce a per-row “histogram” along the edge for the number of filled-in points. That requirement eventually scope-creeped to wanting “histograms” on both the edge and bottom. In, essence there was a desire to be able to

Read more »

OS X XQuartz Vulnerability Test Using R

March 7, 2016
By

It’s usually a good thing when my #rstats and infosec worlds collide. Unfortunately, this time it’s a script that R folk running on OS X can use to see if they are using a version of XQuartz that has a nasty vulnerability in the framework it uses to auto-update. If this test comes back with

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)