d3.geometer A utility library for d3js that allows drawing of geometric primitives, labels, connections and more. Documentation See the docs for more. Examples More can be found here