data-visualization-architect

Implements accessible, responsive data visualizations with Recharts and Chart.js for dashboards.

1|Updated Aug 25, 2026
One-click install
npx skills add https://github.com/sabiscore/swarmxq --skill data-visualization-architect-sabiscore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-visualization-architect
Source: https://github.com/sabiscore/swarmxq/tree/main/.ai/skills/data-visualization-architect
Command: npx skills add https://github.com/sabiscore/swarmxq --skill data-visualization-architect-sabiscore

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires recharts, chart.js.

What problem does it solve? Building charts that are accurate, accessible to screen readers, color-blind safe, responsive, and performant at scale is easy to get wrong. This Skill provides production-grade patterns for choosing the right chart type, wiring Recharts and Chart.js correctly, and structuring dashboard data fetching. ## Core Features & Use Cases - Chart Type Selection: Decision table mapping analytical questions (trends, comparisons, proportions, distributions) to the correct chart type, with explicit anti-patterns. - Accessibility Patterns: Figure/figcaption semantics, screen-reader text summaries, toggleable data table fallbacks, and Okabe-Ito color-blind safe palettes. - Performance & Responsiveness: Canvas rendering via Chart.js for datasets over 1,000 points, and breakpoint-driven layout changes (vertical to horizontal bars on mobile). - Use Case: Build a TaxBridge VAT trend line chart or a SabiScore match prediction bar chart with a single aggregated dashboard payload instead of N waterfall API calls. ## Quick Start Ask the AI to build an accessible, responsive Recharts line chart for monthly VAT trend data with a screen-reader summary and data table fallback.

Frequently Asked Questions about data-visualization-architect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an accessible chart in React with Recharts?

Wrap the chart in a figure element with aria-labelledby and aria-describedby pointing to a visually hidden title and insight summary. Add a toggleable HTML data table fallback so screen reader users can access the exact values behind the visualization.

What chart type should I use for time series data?

Use a line chart for continuous trends like monthly VAT output, and avoid bar charts for continuous time series. For composition over time use stacked area with at most five stacks, and never use pie charts for comparisons.

Recharts vs Chart.js for large datasets?

Recharts renders SVG and stalls beyond roughly 1,000 data points, so switch to Chart.js with canvas rendering for high-volume data. Disable animation and parsing and enable the normalized flag in Chart.js for best performance.

How do I make charts color-blind safe?

Use the Okabe-Ito palette and never rely on color alone as the differentiator. Add dash patterns, shapes, or direct labels as secondary encodings, and ensure chart elements meet 3:1 WCAG contrast for UI components.

Why do my dashboard charts load with a waterfall of requests?

Fetching each chart's data with separate client-side calls causes staggered pop-in. Instead aggregate all dashboard data into one server-side fetch that returns a single payload, then render every chart from memory.

How should charts adapt on mobile screens?

Charts should change behavior, not just shrink. Convert vertical bar charts to horizontal layouts below the mobile breakpoint so category labels stay readable, and reduce chart height to fit smaller viewports.