d3-visualization
Installation
SKILL.md
SKILL: D3 Visualization & Diagram Design
Use when
- Implementing interactive visualizations using D3 (SVG/Canvas) in the Angular UI.
- You need to choose a diagram type and map it to a D3 layout/module.
Workflow
- Clarify purpose: compare / rank / part-to-whole / flow / hierarchy / network / geo / schedule.
- Choose the simplest representation that answers the question (avoid novelty charts).
- Define a chart view model (VM) at the Application boundary; UI receives it as Signals.
- Pick render tech:
- SVG for readability + a11y (small/medium)
- Canvas/hybrid for density/perf (large)
- Add interaction only if it reduces cognitive load (zoom/pan/hover/select/filter).
- Build in a11y: text summary + keyboard navigation + reduced motion.