Skip to main content
100%

Interactive and attempting to be more DRY with the code

✓ Published0🌍 Public
AAlexDaGr8
Last edited Apr 4, 2019
Created on Mar 28, 2019

This interactive visualization tracks a SmarTrip fare card’s balance over time, plotting each transaction from a Metro rail CSV as an animated SVG line chart. The code organizes shared logic (axes, scales, and rendering) into reusable functions, avoiding repetition. Data points—entries, exits, and sales—are distinguished by color and shape, with tooltips showing route segments and fare changes. The animation plays through the chronological sequence, highlighting the card’s declining balance as the commuter taps in and out between Tenleytown-AU and L'Enfant Plaza.

AI-generated description

Similar vizzes