API Reference ▸ SVG The D3 4.0 API Reference has moved. This page describes the D3 3.x API. See one of: Shapes - generate geometric shapes and primitives in SVG. Axes - generate standard axes for visualizations in SVG. Controls - generate standard interactive visualization controls in SVG.