Yep, I'd probably use a path element with a custom "d" attribute here.
Another option for drawing triangles, but more intended for
scatterplots, is to use d3.svg.symbol. See the documentation here:
https://github.com/mbostock/d3/wiki/SVG-Shapes#wiki-symbol
Mike
Try applying a rotate transform. Tutorial on transforms: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Basic_Transformations
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.