using d3 to plot sequence