Easier Composite U.S. Choropleths with albersusa

Folks who’ve been tracking this blog on R-bloggers probably remember [this post](https://rud.is/b/2014/11/16/moving-the-earth-well-alaska-hawaii-with-r/) 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… Continue reading

Nuclear Animations in R

> UPDATE: For #rstats folks interested in what this might look like in D3, [take a gander](https://rud.is/b/2016/03/27/nuclear-animations-in-d3/) @jsvine (Data Editor at BuzzFeed) cleaned up and posted a [data sets of historical nuclear explosions](https://github.com/data-is-plural/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… Continue reading

Using ProPublica “statefaces” in ggplot2

UPDATE: The dev version of ggalt has a new geom_stateface() which encapsulates the tedious bits and also included the TTF font. 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…. Continue reading

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… Continue reading

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

>UPDATE: time spent per task factor order was wrong before. now fixed. 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… Continue reading

Some Light Image Processing & Creation With R

>UPDATE: I rejiggered the function to actually now, y’know, do what it says it should do :-) 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… Continue reading