Skip to main content
100%

Marey’s Trains II

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on May 9, 2013

This visualization adapts E.J. Marey’s classic train schedule to show southbound Caltrain service from San Francisco to Gilroy. Each train’s path is drawn as a segmented line where slope represents speed, while color redundantly encodes the same information through a purple-to-orange scale. The code filters trains by type and uses D3’s time scale, linear scale, and SVG axis API to render the station grid and diagonal trajectories, with station stops marked as circles. Data is loaded from a tab-separated schedule file using `d3.tsv`.

AI-generated description

A variation of E.J. Marey’s graphical train schedule where color and slope redundantly encode train speed. The steeper and more orange the line, the faster the train.

gpl-3.0 Licensed

Similar vizzes