We could not find a decent webpage to draw quick line doodles, so here's one.
d3-shape - Graphical primitives for visualization, such as lines and areas.