While a bit morbid, mortality data sets actually make for great visualizations. They generally have a nice plus in that they can be conveyed both spatially and chronologically in ways an audience can quickly grasp.
In this case, it's also nice that the data are well-tracked and made freely available by the U.S. government.
Unfortunately, I don't have a full article to publish with this visualization at the moment. I do however plan to take a deeper dive into this topic with some historical data in the future.
According to DW-NOMINATE data from famed political scientists Keith Poole and Howard Rosenthal, political polarization in the U.S. Congress is at its post-Reconstruction peak.
DW-NOMINATE scores, which exist between -1 and 1, are calculated using the voting history of each member of Congress. Consequently, what the DW-NOM data ends up showing is how similar or dissimilar members of congress are to one another.
This is some early work I've done while making Clipboard Sports. The left court uses canvas and kinetic.js for managing the shot layer while the right court uses SVG and d3.js to create the hexbin mapping.
I really hope to add a code generator soon so users can create and embed their own shot charts. This is the first step in a basketball logging and visualization app which hopefully will be available for alpha in a few weeks.
I recently sat down for a couple of hours to explore the SeatGeek API. There's still a lot more data to play with, but mapping concerts seemed like a slam dunk for D3.
I'll try to add more visualizations with some of the other SeatGeek data in the near future. If you any suggestions or comments, feel free to hit me up on Twitter.
I took the basic map from my previous post and made it into a live weather map. The seven cities were chosen fairly arbitrarily. Hovering over a city provides some additional details. I'll post a bit more of a tutorial by request.
As always, feel free to read and reuse the code. The weather data comes from Open Weather Map. They're awesome for having a free and easy JSON API. If you any suggestions, feel free to hit me up on Twitter.
This is a simple D3 Albers projection of the United States with five cities mapped. When you hover over a city, a tooltip with a link appears. There is some basic jQuery to ensure the cities appear at a certain scroll height (just below the top of the page) and the entire SVG object is responsive (also via jQuery).
As always, feel free to read and reuse the code. I hope to add more functionality in the future, hopefully doing something with dynamic geo data. If you have any good API suggestions, feel free to hit me up on Twitter.
Wozum is a shape plotting and diagramming app I've been working on while at Hacker School. It's been a fun little portfolio piece to make.
I'll provide more details on Wozum later on when I've fixed a handful more bugs, but for now, I hope you enjoy playing with it!
Space typer is a framework-free, HTML5 canvas game wherein users control a small spaceship and attempt to fend off the onslaught of common nouns. I'm still thinking about building something more interesting using impact.js or box2D, but the goal here was to build something relatively simple without any frameworks.
I started working on a node.js and socket.io 2-player version this weekend, but ran into a few issues with the clients ending up out of sync. Hopefully I can have it and up and running in the not-too-distant future.
This D3 project is unfortunately no longer functional due to a change in Twitter's API. When I have more available time, I'll look into seeing whether it can be repurposed.
Twitter Map takes the latest geocoded tweets for a given search query and plots them on an Albers projection of the US. The map and tweet circles are drawn using D3.js while the contents tooltip uses a forked version of Tipsy. New tweets are plotted every 25 seconds.
Only about 1% of tweets are geocoded as the feature is opt-in, so only a small number of tweets processed are plotted. Limiting the geocoded tweets to a portion of North America reduces the set to an even smaller group. All of the filtering is done client-side, so this means a lot of tweets are returned but few actually appear on the map.
The Tipsy fork for SVG does not currently support IE, so the map is best viewed in Chrome, Firefox, Safari, or Opera. Look for the full blog post on this project in the near future.
Searching too frequently results in Twitter rate-limiting your IP for a limited amount of time. Rate-limiting is done to prevent abuse from runaway scripts, but it can be triggered here because so many GET requests are made in order to populate the map with a sufficient amount of tweets. Do not query repeatedly.