This is a chord diagram!
We looked at each of the Hubway stations and figured out what neighborhood it belonged to. The team member that did this is in fact not from Boston...
Using python, we tallied the number of trips from neighborhood A to neighborhood B, and wrote a datafile containing a global variable_matrixData
, since chord diagrams work best when data is formatted as a matrix. We did this for the overall counts, as well as for weekend & weekday trips, and for registered & casual users
Hovering over the neighborhoods (represented along the circumference of the diagram) will tell you
- how many stations are in that neighborhood,
- the total number of trips originating from there,
- the total number of trips arriving there,
- and the percentage of trips overall start there.
Clickin' on the neighborhoods will highlight them on the map, just in case you didn't know where they were
Hovering over the chords (the stringy things in the middle) tells you how much traffic is going between neighborhood A and B. Each chord is colored based on the net flow of traffic between neighborhoods
As if it could get any better, it does. Click on the tool bar up top! That'll filter out the data in both views.