I'm Brian, your current tumblr. My friends call me moneyries.
Ask me--or nwk--anything about life, love, & liberty.
Check out our sister tumblrs: The Cheat Sheet! And NWK Archivist (your daily dose of gems from the Newsweek archives).
Follow us on Tumblr!
Enjoy our Tumby Page
Two charts to watch as Obama rolls out his gun control proposals in fifteen minutes.
Newsweek by the numbers. Click to enlarge.
Our holiday gift guide flowchart starts with the one key question that we all need to be asking of our loved ones before running off to the mall: are they into leather?
A defining characteristic of this election cycle was Super PACs and the hundreds of millions of dollars outside groups were spending to influence races. Now that it’s all over, we wanted to see which outside groups spent their money on succssful races and which did not. The result was our interactive Not-So-Super PACs: 2012’s Winners and Losers.
Super PACs abounded this cycle. So instead of trying to document and display all of them, we focused the narrative on how well the biggest spenders and their donors fared. To execute it, we used Center for Responsive Politics anaylsis of FEC data to find how much each PAC had spent so far in each race and then manually went through and coded each race whether the outcome was in line with or against the PAC’s interest. Then we added everything up.
This idea went through a few iterations before settling on what you see above. For a while, we’ve been wanting to use a tower graphic template - one of those vertical scroll layouts with a sticky table of contents - that I built a couple of months ago but it never seems to work out. This time, after thinking about all of the detail we wanted to display we thought bigger.
If you’re trying to visualize money flows, Sankey lines are a go-to. ProPublica did a great one showing overlapping Super PAC expenditures and you see them as flat graphics too. They show direcionality and volume = great for money.
Getting the right data
Money was flowing from donors to PACs and then to races, so we used the JSON structure that D3 lays out for its network layouts (and Sankey) visualizations. You have a list of nodes (People and PACs) and a list of node to node links (X person gave $Y to Z PAC). We were working collaboratively in Google Docs so were able to do some formulas that would print out or data structure in JSON as we were editing the document. Very handy in case you need to correct any numbers or name spellings.
Here’s a link to the interactive version (yes, it’s in the “failures” folder). As you can see, there were too many races to fit on the screen and the dollar amounts in some races were so high that they dwarfed everything else. So showing each race in the Sankey was out.
This led to Sankey Idea #2.
We connected photos of the donors to the PACs, showed the percentage of succesful funds, and then put the races in a table down below. The photos were very useful because you can quickly understand that money is coming from a person and going somewhere. If we just had text, I think, without photos, it would be less clear and have less of a personality. Someone remarked that the lines almost form bodies and arms that reach out to touch Super PACs. It’s interesting to see visualized data combined with photography work out to tell a story like that.
Under the hood
We used Raphael to draw the lines, which was an improvement from D3 since we do indeed support Internet Explorer 8. We tweaked Al Shaw’s Sankey line from Tom Counsell’s Sankey library to make them span vertically instead of left to right. Here’s a jsFiddle of the code to draw the line.
The table uses Isotope.js for its animated sorting, which is snazzy but I also think does help make tabular data more understandable. Instead of clicking on a column header and everything resorts in a flash, you can see how dramatically different rows vary from view to view. It’s also nice because you can do filtering. So without much code you have a filterable, sortable table. It also saves a step of turning the object data into arrays for sorting. I’ve been wanting to add those ascending / descending arrows for a while to our tables so this was a good time for that.
This table will probably become our first stand-alone NewsBeast Labs plugin since we’ve been using it pretty frequently. That’s pretty cool because five months ago we didn’t have any interactive news code and now we’ve done enough projects that we can see what’s worked, what functionality we like and can wrap it all up into something more robust and reusable, which will make our future development that much faster.
Come peak behind the curtain.
A closer look at the Northeast, where Obama & Romney campaigns are battling it out for supremacy in the ground game. That smattering of blue and red dots towards the center of the map illustrates the campaign offices in Ohio. To the right, there’s Pennsylvania. South of that, North Carolina. But you already know that.
As of mid-October, the Obama campaign has 755 offices nationwide for its get-out-the-vote effort—nearly three times as many as the Romney campaign. Behold: the ground game!
This is an illustration of the “Twitter Activity Network” for The New York Times, which allegedly shows a “high number of users participating in long chains of tweeeting and retweeting.”
Andrew Sullivan points to this chart from Razib Khan breaking down public opinion on the right to abortion in cases of rape. As he notes, “no demographic group, not even biblical literalists or the extremely conservative, breaks fifty percent in denying abortion to rape victims.”