bind trail data and use d3 to render svg rectangles