D3 Arc Generator

In D3 provide lots of shape generators, arc generator is the most common generator. The D3 arc generator is a lot more versatile than the simple svg: circle. We can use D3 arc generator to create the circle, the annulus (donut), circle sector and annulus sector.

Syntax:
d3.arc
– create a new arc generator.