1---2name: data-visualization3description: >-4 Chooses encodings, chart types, layouts, and rendering tech so visualizations5 communicate accurately and accessibly. Use this skill when building charts,6 graphs, or dashboards, picking SVG/Canvas/WebGL, or making visuals7 colorblind-safe and screen-reader accessible. Do not use when/for general UI8 layout without data graphics (use ui-design-principles) or backend analytics9 pipelines.10version: 1.2.011---1213# Data Visualization1415## Critical rules1617- Visualization is communication — every visual element must serve understanding.18- Prefer established algorithms/libraries (dagre, d3-force, ELK) over custom layout.19- Encode by perceptual accuracy: position > length > angle > area > color.20- Never rely on color alone; pair with shape, pattern, or labels.21- Match rendering to scale: SVG <1000, Canvas 1000–10000, WebGL >10000.22- Before chart selection catalogs or rendering/a11y detail, read the matching resource below.2324## Workflow25261. State the question the viz must answer and the data volume.272. Before picking a chart type or encoding, read [references/chart-selection.md](references/chart-selection.md).283. Choose encoding/chart; reject pie-heavy, 3D, dual-axis, and non-zero bar baselines when they mislead.294. Before implementing layout/render/a11y, read [references/rendering-and-a11y.md](references/rendering-and-a11y.md).305. Pick SVG/Canvas/WebGL and a layout library; keep layout off the main thread when heavy.316. Add title/desc, keyboard support, table fallback; verify colorblind-safe encoding.3233## Resources3435- [references/chart-selection.md](references/chart-selection.md) — encoding hierarchy, chart-by-question, color, anti-patterns. Read when choosing a chart.36- [references/rendering-and-a11y.md](references/rendering-and-a11y.md) — render thresholds, layouts, perf, a11y, libraries. Read when implementing.3738## Validation3940- [ ] Question → chart type selected accordingly41- [ ] Data volume → rendering technology matches threshold42- [ ] Established algorithm/library used (not custom layout)43- [ ] Colorblind-safe: shape/pattern/label, not color alone44- [ ] Accessible: title, description, table fallback, keyboard45- [ ] Perceptually honest: position encoding, zero baseline, 2D, single axis meaning4647## Constraints4849- General UI without data graphics → `ui-design-principles`. Backend analytics pipelines are out of scope.50- Adjacent: `design-principles`, `documentation-standards`.