Marey’s Trains
observablehq.com
observablehq.com
That's really nice work, and I had always been curious if anyone had produced such a chart!
I note though, looks like you're using quite an old schedule as your input data, as the departure times of the weekday southbound trains in the plot don't match the current morning schedule (4:55, 5:25, 6:05, 6:15, 6:35, 6:45, 6:59, 7:05, etc) which has been in place for more than 2 years. Also on the weekends, it's missing the bullet trains (2 per day). Also for some reason if you select the weekend, the connecting lines between data points disappear.
Aside from that, really revealing chart! Interesting to see how basically trains can pass each other only at 2 stations: Bayshore and Lawrence. And the "falling off a cliff" effect for trains south of San Jose / Tamien is entertaining (though sad). One hopes that with coming electrification (will it ever arrive?), every line will be flattened by a factor, and new lines will be added (if what Caltrain claims about electrification turns out to be true). Amazing how a graphic can reveal these insights better.
Is it possible to add a function to output this as PDF or save the result as PNG? The tooltip prevents saving otherwise. Also to switch the axes and have time running along x-axis (which is a bit more traditional) producing a plot in landscape format? Then the distance north-south in also in an intuitive direction on the page.
http://mbostock.github.io/protovis/ex/caltrain.html
If someone wants to collect the new data and send me a suggestion I’d be happy to update the chart.
A Caltrain conductor told me that the only time it makes sense to not take from San Francisco the next leaving train is if the train after that is a Baby Bullet.
Fortunately, in Observable, every cell that contains SVG or canvas graphics has image export built in. Just click the dotted menu to the left of the cell, and it will offer you downloads in either SVG or PNG flavors.