width - margin.right) + ',' + (i * 100) + '' })
      .attr('stroke', function(d,i) { return color(i)})
      .attr('stroke-width', 5)
      .attr('stroke-linecap', 'round')
      .attr('marker-start', function(d,i){ return 'url(#marker_' + d.name + ')' })
      //.attr('marker-end', function(d,i){ return 'url(#marker_' + d.name  + ')' })
      //.attr('marker-start', 'url(#marker_square)')
      .attr('marker-end', 'url(#marker_square)')

</script>
</body>