data-visualization-architect

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

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

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 across devices, and performant with large datasets is easy to get wrong. This Skill provides production-grade patterns for Recharts and canvas-based rendering so every chart communicates one clear insight correctly. ## Core Features & Use Cases - Chart Type Selection: A decision table mapping analytical questions (trend, comparison, proportion, distribution) to the correct chart type, with explicit anti-patterns. - Accessibility Patterns: Figure/figcaption semantics, screen-reader text summaries, and toggleable data table fallbacks for every chart. - 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 with Naira formatting, a SabiScore match prediction comparison bar chart, and a real-time match event scatter plot — all with aggregated dashboard data fetching instead of waterfall API calls. ## Quick Start Ask the AI to build an accessible, responsive Recharts line chart for a monthly VAT trend with a screen-reader summary and a 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 data table fallback so screen reader users can access the underlying values directly.

Recharts vs Chart.js for large datasets — which should I use?

Use Recharts (SVG-based) for typical dashboard charts under 1,000 data points. For datasets over 1,000 points, switch to Chart.js canvas rendering with animation and parsing disabled to avoid SVG performance stalls.

How do I make charts responsive on mobile without shrinking them?

Change chart behavior at breakpoints rather than just scaling size. For example, convert a vertical bar chart to a horizontal bar layout on mobile so category labels stay readable without x-axis crowding.

What color palette is safe for color-blind users in charts?

Use the Okabe-Ito palette (blue, orange, green, vermilion, sky blue) and never rely on color alone as the differentiator. Add dash patterns, shapes, or direct labels so series remain distinguishable without color perception.

Why does my dashboard load charts one at a time with staggered pop-in?

Staggered loading happens when each chart fetches its own API endpoint, creating a network waterfall. Fix it by aggregating all dashboard data into a single server-side fetch that returns one payload for all charts to render from.

When should I avoid using a pie chart for data visualization?

Avoid pie charts with more than five segments, and never use them for comparisons like team win probabilities — use a horizontal bar chart instead. Pies only work for simple part-to-whole proportions with few categories.