API Reference

Everything in D3 is scoped under the d3 namespace. D3 uses semantic versioning. You can find the current version of D3 as d3.version.

d3 (core)

Selections

Transitions

Working with Arrays

Math

Loading External Resources

String Formatting

CSV Formatting (d3.csv)

Colors

Namespaces

Internals

d3.scale (Scales)

Quantitative

Ordinal

d3.svg (SVG)

Shapes

Axes

Controls

d3.time (Time)

Time Formatting

Time Scales

Time Intervals

d3.layout (Layouts)

Bundle

Chord

Cluster

Force

Hierarchy

Histogram

Pack

Partition

Pie

Stack

Tree

Treemap

d3.geo (Geography)

Paths

Projections

Streams

d3.geom (Geometry)

Voronoi

Quadtree

Polygon

Hull

d3.behavior (Behaviors)

Drag

Zoom