Skip to content

Segmented lines. #122

mbostock opened this Issue Apr 20, 2011 · 1 comment

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.