
D3 by Observable | The JavaScript library for bespoke data visualization
The JavaScript library for bespoke data visualization Create custom dynamic visualizations with unparalleled flexibility Get started
Getting started | D3 by Observable
Getting started D3 works in any JavaScript environment. Try D3 online The fastest way to get started (and get help) with D3 is on Observable! D3 is available by default in notebooks as part of …
What is D3? | D3 by Observable
What is D3? D3 (or D3.js) is a free, open-source JavaScript library for visualizing data. Its low-level approach built on web standards offers unparalleled flexibility in authoring dynamic, data-driven …
d3-hierarchy | D3 by Observable
A good hierarchical visualization facilitates rapid multiscale inference: micro-observations of individual elements and macro-observations of large groups. This module implements several popular …
API index | D3 by Observable
d3.namespaces - the built-in XML namespaces. d3-shape Graphical primitives for visualization. Arcs Circular or annular sectors, as in a pie or donut chart. d3.arc - create a new arc generator. arc - …
Tree | D3 by Observable
The JavaScript library for bespoke data visualization Examples · The tree layout produces tidy node-link diagrams of trees using the Reingold–Tilford “tidy” algorithm, improved to run in linear time by …
d3-geo | D3 by Observable
D3 uses spherical GeoJSON to represent geographic features in JavaScript. D3 supports a wide variety of common and unusual map projections. And because D3 uses spherical geometry to represent …
Treemap | D3 by Observable
The JavaScript library for bespoke data visualization Treemap Examples · Introduced by Ben Shneiderman in 1991, a treemap recursively subdivides area into rectangles according to each …
Ticks | D3 by Observable
The JavaScript library for bespoke data visualization Note that due to the limited precision of IEEE 754 floating point, the returned value may not be exact decimals; use d3-format to format numbers for …
d3-shape | D3 by Observable
Visualizations can be represented by discrete graphical marks such as symbols, arcs, lines, and areas. While the rectangles of a bar chart may sometimes be simple, other shapes are complex, such as …