Chapter 05Shapes

The d3-shapes module provides methods to create shape generator functions that can be called to produce the line, arc and other data necessary to render a SVG element.  For example, we can use d3.arc() to create a generator which when called returns the data that can be assigned to the d attribute of a path element.

The d3-shape module contains the following components:

Arcs

Line

Area

Stack

Links

Symbols