Segmented lines. #122

mbostock opened this Issue Apr 20, 2011 · 1 comment


None yet

1 participant


It'd be useful to support something like the segmented lines of Protovis. I'm pretty sure you can do segmented areas using the existing d3.svg.area and d3.split, but segmented lines require computing miter joints.


I have implemented miter joints in these examples:

It would be nice to package up the joint calculation in reusable form. Perhaps something in d3.geom would work.

@mbostock mbostock modified the milestone: 3.x, 4.0 Oct 22, 2015
@mbostock mbostock modified the milestone: 4.0, Icebox Jul 14, 2016
@mbostock mbostock closed this Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment