Blog Archives

(ggplot2) Exercising with (ggalt) dumbbells

April 17, 2016
By
(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 →

Read more »

52Vis Week #3 – Waste Not, Want Not

April 13, 2016
By
52Vis Week #3 – Waste Not, Want Not

The Wall Street Journal did a project piece a while back in the “Waste Lands: America’s Forgotten Nuclear Legacy”. They dug through Department of Energy and CDC data to provide an overview of the lingering residue of this toxic time in America’s past (somehow, I have to believe the fracking phenomena of our modern era... Continue reading →

Read more »

52 Vis Week #2 Wrap Up

April 13, 2016
By
52 Vis Week #2 Wrap Up

I’ve been staring at this homeless data set for a few weeks now since I’m using it both here and in the data science class I’m teaching. It’s been one of the most mindful data sets I’ve worked with in a while. Even when reduced to pure numbers in named columns, the names really stick... Continue reading →

Read more »

52 Vis Week 1 Winners!

April 13, 2016
By
52 Vis Week 1 Winners!

The response to 52Vis has exceeded expectations and there have been great entries for both weeks. It’s time to award some prizes! Week 1 – Send in the Drones I’ll take this week in comment submission order (remember, the rules changed to submission via PR in Week 2). NOTE: WordPress seems to have “eaten” the... Continue reading →

Read more »

Beating lollipops into dumbbells

April 12, 2016
By
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 →

Read more »

Clandestine DNS lookups with gdns

April 10, 2016
By
Clandestine DNS lookups with gdns

Google recently announced their DNS-over-HTTPS API, which “enhances privacy and security between a client and a recursive resolver, and complements DNSSEC to provide end-to-end authenticated DNS lookups”. The REST API they provided was pretty simple to wrap into a package and I tossed in some SPF functions that I had lying around to bulk it... Continue reading →

Read more »

geom_lollipop() by the Chartettes

April 8, 2016
By
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 geom_point() and then use (you probably want to call this first,

Read more »

52Vis Week 2 (2016 Week #14) – Honing in on the Homeless

April 6, 2016
By
52Vis Week 2 (2016 Week #14) – Honing in on the Homeless

Why 52Vis? In case folks are wondering why I’m doing this, it’s pretty simple. We need a society that has high data literacy and we need folks who are capable of making awesome, truthful data visualizations. The only way to do that is by working with data over, and over, and over, and over again.

Read more »

iptools 0.4.0 released into the wild (i.e. is hitting the CRAN mirrors today)

April 4, 2016
By

The iptools package—a toolkit for manipulating, validating and testing IP addresses and ranges, along with datasets relating to IP addresses—is flying through the internets and hitting a CRAN mirror near you, soon. What’s fixed? Tim Smith fixed a bug in ip_in_range() that occurred when the netmask was /32 (thanks, Tim!). What’s new? The range_boundaries() function

Read more »

Introducing a Weekly R / Python / JS / etc Vis Challenge!

March 30, 2016
By
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 gist/repo/rpub/blog/etc (or post directly, though

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)