All examples By author By category About

Andrew-Reid

Railway symbology in d3.js

This is an example of how to achieve a railway style symbology along topojson features. Shaded areas represent track structures such as tunnels, bridges, and avalanche sheds. It is hard to see at this scale, but portions of this section are double or triple tracked.

The area shown is the big hill near the British Columbia - Alberta border at the conntinental divide in the Rockies. The hill features twin spiral tunnels built in 1909, replacing a stretch of track that exceeded a four percent gradient. See Big Hill on wikipedia.

Data is from NRCan's geogratis data extraction service. This block uses d3v4.