Category: ggplot
Everything filed under ggplot.
geom_lollipop() by the Chartettes
I make a fair share of bar charts throughout the day and really like switching to lollipop charts to mix things up a bit and enhance the visual appeal. They're easy to do in ggplot2, just use your traditional x & y mapping for geompoint()…
Introducing a Weekly R / Python / JS / etc Vis Challenge!
Per a suggestion, I'm going to try to find a neat data set (prbly one from @jsvine) to feature each week and toss up some sample code (99% of the time prbly in R) and offer up a vis challenge. Just reply in the comments with a link to a…
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…
Nuclear Animations in R
@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…
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 &…
Stacking the deck against treemaps
They did an awesome makeover (it's interactive if you follow the…
Supreme Annotations
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 having to do subtitles via hacks…
Spinning Cycles in Box #4 To Take the Pies out of Pi Day
\>UPDATE: time spent per task factor order was wrong before. now…
ggplot2で字幕 <br/>[Subtitles in ggplot2]
UPDATE: this capability (+ more) are being rolled into ggplot2-proper. PR will be absorbed into ggplot2 main branch soon. exciting, annotated times…
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"…