Skip to content
This repository

Segmented lines. #122

Open
mbostock opened this Issue April 19, 2011 · 1 comment

1 participant

Mike Bostock
Mike Bostock
Owner

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.

Mike Bostock
Owner

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.

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.