A data visualization project using R, DuckDB, and D3.js to animate hourly passenger flow across all 424 NYC subway stations. The author uses MTA's origin-destination ridership estimates (121 million rows, compressed from 17GB CSV to 1.5GB parquet) and aggregates them per station to show arrival/departure balance as animated pie charts. The workflow uses duckplyr for lazy querying without loading the full dataset into memory, then exports JSON for D3.js animation. The result is an interactive map with three views: schematic, geographic, and force-directed network, each showing hourly flow dynamics throughout the day.
Table of contents
RelatedSort: