
D3 by Observable | The JavaScript library for bespoke data …
Connect to your data instantly Pull live data from the cloud, files, and databases into one secure place — without installing anything, ever.
What is D3? | D3 by Observable
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 graphics.
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 …
Community | D3 by Observable
Don’t worry if your code is messy or unfinished; sharing drafts normalizes the challenges that everyone experiences doing data visualization. Upvote 👍 or comment on GitHub issues.
d3-shape | D3 by Observable
d3-shape 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 …
Tree | D3 by Observable
Examples · The tree layout produces tidy node-link diagrams of trees using the Reingold–Tilford “tidy” algorithm, improved to run in linear time by Buchheim et al. Tidy trees are typically more …
API index | D3 by Observable
d3.geoInterpolate - interpolate between two points along a great arc. d3.geoContains - test whether a point is inside a given feature. d3.geoRotation - create a rotation function for the …
d3-selection | D3 by Observable
Selections allow powerful data-driven transformation of the document object model (DOM): set attributes, styles, properties, HTML or text content, and more. Using the data join ’s enter and …
Pack | D3 by Observable
Pack Examples · Enclosure diagrams use containment (nesting) to represent a hierarchy. The size of the leaf circles encodes a quantitative dimension of the data. The enclosing circles …
Treemap | D3 by Observable
Treemap Examples · Introduced by Ben Shneiderman in 1991, a treemap recursively subdivides area into rectangles according to each node’s associated value. D3’s treemap implementation …