Holy ifelse() statements Batman!

If you were like me Batman cartoons, movies and television shows had been a staple of your Saturday morning for years. They all started with the ‘Bat-man’ first appearing in comic books in 1939, and have come in many iterations from the dark and brooding to the fun and campy. Sadly the world recently lost the original Batman, Adam West, who starred in the 1960’s Batman TV series. I recently stumbled upon an article on Mental Floss that detailed the different villains from that series and decided to make a little tribute to that series and Adam West.

A quick look at Bechdel test data (& an awtools update)

A good visualization always grabs my attention and draws me into articles. I am an avid follower of the Washington Post, New York Times, The Economist and a host of other websites/publications that are doing their fair share of data driven journalism. A couple weeks ago I came across a this article, Men, women, and films from 1843 Magazine which is the Economist’s lifestyle magazine. The article drew me in with the tagline “how pronounced is the gender divide on the silver screen”.

Confederate monuments with the statebins 📦

Before I begin I want to say that it is not my intention for this piece to be taken as political. This is more me looking into a dataset I kept coming across in the news cycle and found interesting. In the past few months a lot of things have captured the public eye’s focus and became blurry just as quick when something else happens. It is just the way news stories are covered now.

Streamgraphs: Economic trade flows with R

Recently I saw this really cool visualization around the reliance of the North Korean economy on trade from China. This tree_map is striking in a number of ways. One is that it conveys a ton of information in an easy on the eyes and interactive way. Another is the data itself. North Korea really does have quite the reliance on China. This got me thinking how I would visualize the information with R and I then came across a really cool example of how someone else visualized the same data via a sort of stream graph.

Heat maps with Divvy data 2

It is summer here in Chicago which means tourists abound and Divvy bikes are everywhere. Awhile ago, and a whole site ago, I posted a little how-to on making calendar heatmaps using the publicly available Divvy data. While that site is gone there are still some links to it out on the internet, one being the awesome Revolution Analytics blog, so instead of leaving people with a 404 I decided to revisit it.

Did you say eclipse?

I am not sure if you have heard about it yet but there will be a solar eclipse on 8/21/17. If you are one of a very few people who this is news to, congrats! As the day nears there have been a lot of articles and posts on the subject, with more than a few really awesome visualizations. The unique part about the eclipse is its path of totality that cuts through the heart of the United States.

Premier League 2017-2018

This is a page dedicated to weekly predictions for English Premier League. I am a fan of the Premier League and I support the Southampton Saints and am a long time Gooner though try as I might no sort of projection I do can make them better. A lot of the data for this comes from the awesome engsoccerdata package available on github. My predictions are under constantly construction, but they are based on Poisson distributions, and you can read a little bit about those here.

It brings me ggjoy

Awhile ago I posted about plotting the temperatures of Lincoln Nebraska that was inspired by a FiveThirtyEight article visualization. Well the internet have been abuzz with a new package found on github by Claus Wilke called ggjoy. So I decided to do a quick little post playing with it. Update! It is important to note that the ggjoy package has been deprecated and ggridges package should be the new default.

Update #2: ACS mapping with tidycensus

I guess what turned into one post about ACS data is now an installment series. The #rstats community is so productive with its output that as I finally figure out the extant of one package someone has made a streamlined, optimized, or shiny new one. Kyle Walker’s new tidycensus package is the latest in that long line and before you go any further I encourage you to follow the link to read his brief introductions.

Plot inspiration via FiveThirtyEight

Graph!? more like art Every once in a while, I run into an article with some data that really intrigues me, and sometimes I run into a data visualization that makes me think, “How can I do something like that?” Sometimes they both happen simultaneously and I have to drop everything to start working on it. That happened to me with the 538 article, The Most Conservative And Most Liberal Elite Law Schools.