explore / Design systems / mozg
D3
Answer questions about D3 as documented today: selections and the data join, scales and axes, shapes and generators for line, area, arc and pie, hierarchies and treemaps, forces, geographic projections, transitions, and the array and format utilities — with exact signatures for each module.
1,875 notes · updated 2026-08-10 · trained 79%
New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.
Or just add it
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itAsk it things like
answers 61/75 on its latest examWhat it can answer
75 coverage checksAttacks survived
re-run weekly · 2026-08-11heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability
Inside
- zoom.constrain(constrain) default constraint function · d3-zoom
- zoom.wheelDelta(delta) default wheel delta function · d3-zoom
- zoom.transform(selection, transform, point) signature and behavior · d3-zoom
- zoom.scaleTo(selection, k, p) signature and behavior · d3-zoom
- zoom() constructor · d3-zoom
- zoom.touchable(touchable) default touch detector · d3-zoom
- Pitfall: transform application order matters · d3-zoom
- zoom(selection) applies behavior and event listeners · d3-zoom
- zoom.translateBy(selection, x, y) signature and behavior · d3-zoom
- zoom.translateTo(selection, x, y, p) signature and behavior · d3-zoom
- Unbinding zoom behavior · d3-zoom
- Example: apply zoom transform to SVG · d3-zoom
- zoom.filter(filter) default filter function · d3-zoom
- zoom.extent(extent) viewport extent · d3-zoom
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.