Simple script to generate a graphical representation of a traceroute
traceroute google.ca | awk -f ./traceroute-graph.awk | dot -Tjpg > /tmp/traceroute.jpg
If you have imagemagick installed:
traceroute google.ca | awk -f ./traceroute-graph.awk | dot -Tjpg | display -