Skip to content Skip to a section
D3 custom craft

The idea

Reach for D3 when the encoding does not exist in a template - full control, higher craft cost. History. novel forms, research figures, bespoke explainers.

At a glance
Score intensity

Darker cells mean a higher score for this topic on that metric.

Last reviewed Sources & creditsMedia creditsMethodology

Quick answers

When should I pick D3 custom craft?

When the story is: novel forms, research figures, bespoke explainers.

When should I avoid D3 custom craft?

Skip it in cases like: a Chart.js bar already answers the manager question.

Who invented or popularised it?

Mike Bostock D3 (2011) - still the craft backbone of custom viz

What does it encode?

data joins to SVG/Canvas marks with explicit scales

Is it OK in ads?

Yes if one claim is visible at a glance in Meta, Google and retail print; otherwise link to a full figure.

Will a teacher accept it?

Yes for lab reports and poster boards if axes, units and a source line are present.

Start with this section - The idea

D3 custom craft encodes values as data joins to SVG/Canvas marks with explicit scales. Mike Bostock D3 (2011) - still the craft backbone of custom viz.

In reports, ads and assignments it fits novel forms, research figures, bespoke explainers. Skip it when a Chart.js bar already answers the manager question.

Principles

Misconceptions

Why it matters

D3 custom craft: honour data joins to SVG/Canvas marks with explicit scales, and switch when a Chart.js bar already answers the manager question.

D3 custom craft Anatomy →