data-visualization
Installation
SKILL.md
Data Visualization Skill
Degree of freedom: MIXED. Chart type and encoding [HIGH freedom];
existing-library/token probes and a11y fallback [LOW freedom — run exactly].
How to reason
- Observe — existing chart library, tokens, data shape
- Interpret — reuse a component vs new chart type
- Classify — line / bar / area / donut / sparkline / table-fallback
- Severity — inaccessible or empty-state-less chart outranks a missing gradient
Worked example
Observe:
package.jsonhas recharts; nosrc/components/charts; tokens define--primary. Interpret: reuse Recharts + tokens, not D3. Classify:ResponsiveContainerline chart + sr-only table; skeleton while loading. Verify: resizes; screen-reader table present; no second chart library.