This block uses d3.js v4 with a custom module.
A very basic modification of d3.arc to produce an arc with chevrons, d3.chevronArc. Unlike the first attempt at this, tail ends of arcs are indented.
This block serves primarily as a proof of concept - and not as a demo of a decent module/plugin. It is based entirely off of the d3-shape module's (https://github.com/d3/d3-shape) arc function with few changes and a lot of code removed. In creating it, many or all of the checks for different cases or exceptions were removed.
Six methods are available for chevronArc(), all are required,these are:
All these behave the same as with d3.arc(). The two new methods are:
https://cdnjs.cloudflare.com/ajax/libs/d3/4.4.0/d3.js