Using data directly from the MBTA, I used p5.js and R to create an interactive tool that provided insight into how each of the MBTA lines are used throughout the day. This was my first introduction into using p5.js for visualization.
I focused on mapping four main variables: inbound versus outbound train, stop location, time period, and ridership. Using Illustrator, I was able to plot stop location by creating my own abstracted MBTA map. I then used R to consolidate inbound and outbound train data as well as time data. Finally, I mapped ridership to linewidth which changes dynamically as the time period is toggled using the arrow keys.
p5.js
R
Illustrator