This visualization only works in modern browsers. Upgrade yours and enjoy.
Using ST_Union to make unique route loop segments first
This uses the shapes.txt file to generate the route geoms. It is different from using stops_times.txt to generate the route geoms.